fixups
This commit is contained in:
parent
ee3de65f7d
commit
6d4156e706
|
@ -13,7 +13,7 @@ type ACLPolicyDeleteCommand struct {
|
|||
|
||||
func (c *ACLPolicyDeleteCommand) Help() string {
|
||||
helpText := `
|
||||
Usage: nomad acl policy delete [options] <name> <path>
|
||||
Usage: nomad acl policy delete <name>
|
||||
|
||||
Delete is used to delete an existing ACL policy.
|
||||
|
||||
|
@ -61,7 +61,7 @@ func (c *ACLPolicyDeleteCommand) Run(args []string) int {
|
|||
return 1
|
||||
}
|
||||
|
||||
// Upsert the policy
|
||||
// Delete the policy
|
||||
_, err = client.ACLPolicies().Delete(policyName, nil)
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf("Error deleting ACL policy: %s", err))
|
||||
|
|
|
@ -3,7 +3,7 @@ layout: "docs"
|
|||
page_title: "Commands: acl policy delete"
|
||||
sidebar_current: "docs-commands-acl-policy-delete"
|
||||
description: >
|
||||
The policy apply command is used to delete an existing ACL policies.
|
||||
The policy delete command is used to delete an existing ACL policies.
|
||||
---
|
||||
|
||||
# Command: acl policy delete
|
||||
|
|
Loading…
Reference in New Issue