Commit 2f18daed authored by songlinfeng's avatar songlinfeng
Browse files

cancel GIDs support podman

parent 8c570eb3
...@@ -31,6 +31,7 @@ func New(opts ...Option) (Interface, error) { ...@@ -31,6 +31,7 @@ func New(opts ...Option) (Interface, error) {
// Save writes the spec to the specified path and overwrites the file if it exists. // Save writes the spec to the specified path and overwrites the file if it exists.
func (s *spec) Save(path string) error { func (s *spec) Save(path string) error {
s.ContainerEdits.AdditionalGIDs = nil
if s.transformOnSave != nil { if s.transformOnSave != nil {
err := s.transformOnSave.Transform(s.Raw()) err := s.transformOnSave.Transform(s.Raw())
if err != nil { if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment