WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/podman/volumes/rm.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ var (
33
33
)
34
34
35
35
var (
36
-
rmOptions= entities.VolumeRmOptions{}
37
-
stopTimeoutint
38
-
includeProtectedbool
36
+
rmOptions= entities.VolumeRmOptions{}
37
+
stopTimeoutint
38
+
includePinnedbool
39
39
)
40
40
41
41
funcinit() {
@@ -46,7 +46,7 @@ func init() {
46
46
flags:=rmCommand.Flags()
47
47
flags.BoolVarP(&rmOptions.All, "all", "a", false, "Remove all volumes")
48
48
flags.BoolVarP(&rmOptions.Force, "force", "f", false, "Remove a volume by force, even if it is being used by a container")
49
-
flags.BoolVar(&includeProtected, "include-protected", false, "Include protected volumes in removal operation")
49
+
flags.BoolVar(&includePinned, "include-pinned", false, "Include pinned volumes in removal operation")
50
50
timeFlagName:="time"
51
51
flags.IntVarP(&stopTimeout, timeFlagName, "t", int(containerConfig.Engine.StopTimeout), "Seconds to wait for running containers to stop before killing the container")
0 commit comments