Skip to content

Commit

Permalink
Skip GCE cloudprovider flag cloud-provider-gce-l7lb-src-cidrs
Browse files Browse the repository at this point in the history
It isn't meaningful as a kops flag.
  • Loading branch information
justinsb committed Apr 8, 2020
1 parent 64e0fdc commit d04bbcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/kops/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ func NewCmdRoot(f *util.Factory, out io.Writer) *cobra.Command {
goflag.CommandLine.VisitAll(func(goflag *goflag.Flag) {
switch goflag.Name {
case "cloud-provider-gce-lb-src-cidrs":
// Skip; this is dragged in by the google cloudprovider dependency
case "cloud-provider-gce-l7lb-src-cidrs":
// Skip; these is dragged in by the google cloudprovider dependency

default:
cmd.PersistentFlags().AddGoFlag(goflag)
Expand Down

0 comments on commit d04bbcd

Please sign in to comment.