Skip to content

Commit

Permalink
Merge pull request #574 from praveingk/main
Browse files Browse the repository at this point in the history
Fix gwctl
  • Loading branch information
praveingk authored May 15, 2024
2 parents 310675b + f8d7ca6 commit f69da3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/gwctl/subcommand/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func PolicyCreateCmd() *cobra.Command {
},
}
o.addFlags(cmd.Flags())
cmdutil.MarkFlagsRequired(cmd, []string{"type"})
cmdutil.MarkFlagsRequired(cmd, []string{"policyFile"})

return cmd
}
Expand All @@ -62,7 +62,7 @@ func PolicyUpdateCmd() *cobra.Command {
},
}
o.addFlags(cmd.Flags())
cmdutil.MarkFlagsRequired(cmd, []string{"type"})
cmdutil.MarkFlagsRequired(cmd, []string{"policyFile"})

return cmd
}
Expand Down Expand Up @@ -130,7 +130,7 @@ func PolicyDeleteCmd() *cobra.Command {
},
}
o.addFlags(cmd.Flags())
cmdutil.MarkFlagsRequired(cmd, []string{"type"})
cmdutil.MarkFlagsRequired(cmd, []string{"policyFile"})

return cmd
}
Expand Down

0 comments on commit f69da3b

Please sign in to comment.