Skip to content

Commit

Permalink
fix set-domain-meta zms-cli argument count (AthenZ#1026)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Avetisyan <[email protected]>
  • Loading branch information
havetisyan and Henry Avetisyan authored Jul 5, 2020
1 parent 7bce0dd commit 5928be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/go/zmscli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (cli *Zms) EvalCommand(params []string) (*string, error) {
return cli.DeleteProviderResourceGroupRoles(dn, args[0], args[1], args[2])
}
case "set-domain-meta":
if argc == 2 {
if argc == 1 {
return cli.SetDomainMeta(dn, args[0])
}
case "set-aws-account", "set-domain-account":
Expand Down

0 comments on commit 5928be6

Please sign in to comment.