Skip to content

Commit f55368b

Browse files
Remove unneeded parameter for create cluster command
1 parent a1096d8 commit f55368b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/interface/cli/commands/cluster/create.cmd.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ const command = new Command({
3333
default: 'default',
3434
required: true,
3535
})
36-
.option('name-overwrite', {
37-
describe: 'spesify under which name the cluster should be saved in Codefresh, default is the context name',
38-
})
3936
.option('behind-firewall', {
40-
describe: 'Spesify whenever the cluster is behined firewall',
37+
describe: 'Specify if the cluster is set behind a firewall',
4138
default: false,
4239
type: 'boolean',
4340
})
@@ -50,7 +47,7 @@ const command = new Command({
5047
serviceaccount,
5148
'kube-context': contextName,
5249
'behind-firewall': behindFirewall,
53-
'name-overwrite': name,
50+
name,
5451
} = argv;
5552
await cluster.createCluster({
5653
contextName,

0 commit comments

Comments
 (0)