Browse Source

fix typos

pull/5436/head
Alvin Huang 6 years ago
parent
commit
8cb8108b1b
  1. 2
      agent/consul/acl_endpoint_test.go
  2. 2
      command/acl/token/delete/token_delete.go

2
agent/consul/acl_endpoint_test.go

@ -955,7 +955,7 @@ func TestACLEndpoint_TokenDelete(t *testing.T) {
require.NoError(t, err) 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() fakeID, err := uuid.GenerateUUID()
require.NoError(t, err) require.NoError(t, err)

2
command/acl/token/delete/token_delete.go

@ -42,7 +42,7 @@ func (c *cmd) Run(args []string) int {
} }
if c.tokenID == "" { 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 return 1
} }

Loading…
Cancel
Save