Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: typos in acl role commands #15382

Merged
merged 3 commits into from
Nov 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/15382.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cli: corrected typos in ACL role create/delete CLI commands
```
2 changes: 1 addition & 1 deletion command/acl_role_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion command/acl_role_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down