fix linting issues in preauthkey tags

This commit is contained in:
Benjamin George Roberts 2022-09-07 22:12:29 +10:00
parent 470c49394c
commit 8a8ec7476d
6 changed files with 19 additions and 19 deletions

View file

@ -337,7 +337,7 @@ func (s *IntegrationCLITestSuite) TestPreAuthKeyCommand() {
// Test that tags are present
for i := 0; i < count; i++ {
assert.Equals(listedPreAuthKeys[i].AclTags, []string{"tag:test1,", "tag:test2"})
assert.Equal(s.T(), listedPreAuthKeys[i].AclTags, []string{"tag:test1", "tag:test2"})
}
// Expire three keys