Skip to content

Commit

Permalink
add missing argument on kctf cluster resize (#365)
Browse files Browse the repository at this point in the history
* add missing argument on kctf cluster resize

* fix getopt name
  • Loading branch information
sirdarckcat authored Mar 8, 2022
1 parent 33ef2bb commit 44da929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/bin/kctf-cluster
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ function kctf_cluster_resize {
fi

OPTS="h"
LONGOPTS="help,machine-type:,min-nodes:,max-nodes:,num-nodes:,pool-name:,old-pool"
PARSED=$(${GETOPT} --options=$OPTS --longoptions=$LONGOPTS --name "kctf chal create" -- "$@")
LONGOPTS="help,machine-type:,min-nodes:,max-nodes:,num-nodes:,pool-name:,old-pool:"
PARSED=$(${GETOPT} --options=$OPTS --longoptions=$LONGOPTS --name "kctf cluster resize" -- "$@")
if [[ $? -ne 0 ]]; then
kctf_cluster_resize_usage
exit 1
Expand Down

0 comments on commit 44da929

Please sign in to comment.