From 6d4156e706c63f39852566cd3903fec592744d4e Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Sun, 17 Sep 2017 05:15:25 +0000 Subject: [PATCH] fixups --- command/acl_policy_delete.go | 4 ++-- website/source/docs/commands/acl/policy-delete.html.md.erb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/command/acl_policy_delete.go b/command/acl_policy_delete.go index 7481cf486..3ed91f3dc 100644 --- a/command/acl_policy_delete.go +++ b/command/acl_policy_delete.go @@ -13,7 +13,7 @@ type ACLPolicyDeleteCommand struct { func (c *ACLPolicyDeleteCommand) Help() string { helpText := ` -Usage: nomad acl policy delete [options] +Usage: nomad acl policy delete 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)) diff --git a/website/source/docs/commands/acl/policy-delete.html.md.erb b/website/source/docs/commands/acl/policy-delete.html.md.erb index 692adb902..f7dcb396e 100644 --- a/website/source/docs/commands/acl/policy-delete.html.md.erb +++ b/website/source/docs/commands/acl/policy-delete.html.md.erb @@ -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