diff --git a/integrationtest/integration_test.go b/integrationtest/integration_test.go index d4249a3c..d2f4c387 100644 --- a/integrationtest/integration_test.go +++ b/integrationtest/integration_test.go @@ -304,7 +304,7 @@ func TestAuthAliasMetadataAssignment(t *testing.T) { } if len(expMetadata) != metadataMatches { - t.Fatalf("Expected %d matching key value entries from alias metadata %#v but got: %d", + t.Fatalf("Expected %d matching key value pairs from alias metadata %#v but got: %d", len(expMetadata), secret.Data, metadataMatches) } } diff --git a/path_login.go b/path_login.go index f40eb174..d05211c5 100644 --- a/path_login.go +++ b/path_login.go @@ -167,7 +167,6 @@ func (b *kubeAuthBackend) pathLogin(ctx context.Context, req *logical.Request, d annotations, err := b.serviceAccountGetterFactory(config).annotations(ctx, client, jwtStr, sa.namespace(), sa.name()) if err != nil { - b.Logger().Debug("failed to get service account annotations", "err", err) return nil, err }