File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ func newUpdateCommand(dockerCLI command.Cli) *cobra.Command {
112
112
113
113
// Add needs parsing, Remove only needs the key
114
114
flags .Var (newListOptsVar (), flagGenericResourcesRemove , "Remove a Generic resource" )
115
- flags .SetAnnotation (flagHostAdd , "version" , []string {"1.32" })
115
+ flags .SetAnnotation (flagGenericResourcesRemove , "version" , []string {"1.32" })
116
116
flags .Var (newListOptsVarWithValidator (ValidateSingleGenericResource ), flagGenericResourcesAdd , "Add a Generic resource" )
117
- flags .SetAnnotation (flagHostAdd , "version" , []string {"1.32" })
117
+ flags .SetAnnotation (flagGenericResourcesAdd , "version" , []string {"1.32" })
118
118
119
119
// TODO(thaJeztah): add completion for capabilities, stop-signal (currently non-exported in container package)
120
120
// _ = cmd.RegisterFlagCompletionFunc(flagCapAdd, completeLinuxCapabilityNames)
You can’t perform that action at this time.
0 commit comments