mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
bugfix: typos in acl role commands (#15382)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8018dd0ee8
commit
ecd454e15d
3
.changelog/15382.txt
Normal file
3
.changelog/15382.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
cli: corrected typos in ACL role create/delete CLI commands
|
||||
```
|
||||
@@ -26,7 +26,7 @@ type ACLRoleCreateCommand struct {
|
||||
// Help satisfies the cli.Command Help function.
|
||||
func (a *ACLRoleCreateCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad acl token create [options]
|
||||
Usage: nomad acl role create [options]
|
||||
|
||||
Create is used to create new ACL roles. Use requires a management token.
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ func (a *ACLRoleDeleteCommand) AutocompleteArgs() complete.Predictor { return co
|
||||
func (a *ACLRoleDeleteCommand) Synopsis() string { return "Delete an existing ACL role" }
|
||||
|
||||
// Name returns the name of this command.
|
||||
func (a *ACLRoleDeleteCommand) Name() string { return "acl token delete" }
|
||||
func (a *ACLRoleDeleteCommand) Name() string { return "acl role delete" }
|
||||
|
||||
// Run satisfies the cli.Command Run function.
|
||||
func (a *ACLRoleDeleteCommand) Run(args []string) int {
|
||||
|
||||
Reference in New Issue
Block a user