This commit is contained in:
Chelsea Holland Komlo 2017-09-17 05:15:25 +00:00
parent ee3de65f7d
commit 6d4156e706
2 changed files with 3 additions and 3 deletions

View File

@ -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))

View File

@ -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