Skip to content

Commit 221d7be

Browse files
committed
Fix lint check
1 parent 6cd60cc commit 221d7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maas-api/internal/api_keys/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
// distinguish not-found, access denied, or no default subscription (enumeration / permission hints).
1919
const (
2020
apiKeySubscriptionResolutionErrCode = "invalid_subscription"
21-
apiKeySubscriptionResolutionErrMsg = "Unable to resolve a subscription for this API key"
21+
apiKeySubscriptionResolutionErrMsg = "Unable to resolve a subscription for this API key" //nolint:gosec // G101: public JSON error text, not a credential
2222
)
2323

2424
// AdminChecker is an interface for checking if a user is an admin.

0 commit comments

Comments
 (0)