From 8cb8108b1bc46fce1498125d69a21a8cc1c5a580 Mon Sep 17 00:00:00 2001 From: Alvin Huang Date: Wed, 6 Mar 2019 14:47:33 -0500 Subject: [PATCH] fix typos --- agent/consul/acl_endpoint_test.go | 2 +- command/acl/token/delete/token_delete.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/consul/acl_endpoint_test.go b/agent/consul/acl_endpoint_test.go index 70d03ad3a3..b07c120773 100644 --- a/agent/consul/acl_endpoint_test.go +++ b/agent/consul/acl_endpoint_test.go @@ -955,7 +955,7 @@ func TestACLEndpoint_TokenDelete(t *testing.T) { require.NoError(t, err) }) - t.Run("don't segfault when attempting to delete non existant token in secondary dc", func(t *testing.T) { + t.Run("don't segfault when attempting to delete non existent token in secondary dc", func(t *testing.T) { fakeID, err := uuid.GenerateUUID() require.NoError(t, err) diff --git a/command/acl/token/delete/token_delete.go b/command/acl/token/delete/token_delete.go index b14be94afe..7e1072a56c 100644 --- a/command/acl/token/delete/token_delete.go +++ b/command/acl/token/delete/token_delete.go @@ -42,7 +42,7 @@ func (c *cmd) Run(args []string) int { } if c.tokenID == "" { - c.UI.Error(fmt.Sprintf("Must specify the -id paramter")) + c.UI.Error(fmt.Sprintf("Must specify the -id parameter")) return 1 }