Skip to content

Commit

Permalink
Merge pull request #732 from timoreimann/fix-repetitive-kubernetes-ta…
Browse files Browse the repository at this point in the history
…g-argument

Fix repetitive usage of --tag flag for Kubernetes node pools
  • Loading branch information
Verolop committed Jan 29, 2020
2 parents 453da14 + 656090b commit 884a996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func kubernetesNodePools() *Command {
"size of nodes in the node pool (see `doctl k8s options sizes`)", requiredOpt())
AddIntFlag(cmdKubeNodePoolCreate, doctl.ArgNodePoolCount, "", 0,
"count of nodes in the node pool", requiredOpt())
AddStringFlag(cmdKubeNodePoolCreate, doctl.ArgTag, "", "",
AddStringSliceFlag(cmdKubeNodePoolCreate, doctl.ArgTag, "", nil,
"tags to apply to the node pool, repeat to add multiple tags at once")
AddBoolFlag(cmdKubeNodePoolCreate, doctl.ArgNodePoolAutoScale, "", false,
"enable auto-scaling on the node pool")
Expand All @@ -352,7 +352,7 @@ func kubernetesNodePools() *Command {
AddStringFlag(cmdKubeNodePoolUpdate, doctl.ArgNodePoolName, "", "", "node pool name")
AddIntFlag(cmdKubeNodePoolUpdate, doctl.ArgNodePoolCount, "", 0,
"count of nodes in the node pool")
AddStringFlag(cmdKubeNodePoolUpdate, doctl.ArgTag, "", "",
AddStringSliceFlag(cmdKubeNodePoolUpdate, doctl.ArgTag, "", nil,
"tags to apply to the node pool, repeat to add multiple tags at once")
AddBoolFlag(cmdKubeNodePoolUpdate, doctl.ArgNodePoolAutoScale, "", false,
"enable auto-scaling on the node pool")
Expand Down

0 comments on commit 884a996

Please sign in to comment.