File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ func PolicyCreateCmd() *cobra.Command {
4545 },
4646 }
4747 o .addFlags (cmd .Flags ())
48- cmdutil .MarkFlagsRequired (cmd , []string {"type " })
48+ cmdutil .MarkFlagsRequired (cmd , []string {"policyFile " })
4949
5050 return cmd
5151}
@@ -62,7 +62,7 @@ func PolicyUpdateCmd() *cobra.Command {
6262 },
6363 }
6464 o .addFlags (cmd .Flags ())
65- cmdutil .MarkFlagsRequired (cmd , []string {"type " })
65+ cmdutil .MarkFlagsRequired (cmd , []string {"policyFile " })
6666
6767 return cmd
6868}
@@ -130,7 +130,7 @@ func PolicyDeleteCmd() *cobra.Command {
130130 },
131131 }
132132 o .addFlags (cmd .Flags ())
133- cmdutil .MarkFlagsRequired (cmd , []string {"type " })
133+ cmdutil .MarkFlagsRequired (cmd , []string {"policyFile " })
134134
135135 return cmd
136136}
You can’t perform that action at this time.
0 commit comments