Skip to content

Commit

Permalink
rm redundant error check
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-lifshits committed Nov 13, 2024
1 parent 6335494 commit 3d9a669
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion acceptance/openstack/kms/v1/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ func TestKmsCMKImportLifecycle(t *testing.T) {
publicMaterial := base64.StdEncoding.EncodeToString(encryptedKeyMaterial)

matched, err := regexp.MatchString("^[0-9a-zA-Z+/=]{344,360}$", publicMaterial)

Check failure on line 135 in acceptance/openstack/kms/v1/keys_test.go

View workflow job for this annotation

GitHub Actions / golangci-lint

ineffectual assignment to err (ineffassign)
th.AssertNoErr(t, err)
th.AssertEquals(t, matched, true)

kmsOpts := keys.ImportCMKOpts{
Expand Down

0 comments on commit 3d9a669

Please sign in to comment.