mirror of https://github.com/status-im/consul.git
commit
77727d23ae
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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…
Reference in New Issue