Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
songlinfeng
container-toolkit
Commits
2f18daed
Commit
2f18daed
authored
Nov 04, 2025
by
songlinfeng
Browse files
cancel GIDs support podman
parent
8c570eb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
pkg/c3000cdi/spec/spec.go
pkg/c3000cdi/spec/spec.go
+1
-0
No files found.
pkg/c3000cdi/spec/spec.go
View file @
2f18daed
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment