Skip to content

Commit b3ffceb

Browse files
Update internal/authentication/tokengetter.go
Co-authored-by: Camila Macedo <[email protected]>
1 parent a15ee57 commit b3ffceb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/authentication/tokengetter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ func (t *TokenGetter) getToken(ctx context.Context, key types.NamespacedName) (*
106106
if errors.IsNotFound(err) {
107107
return nil, &ServiceAccountNotFoundError{ServiceAccountName: key.Name, ServiceAccountNamespace: key.Namespace}
108108
}
109+
return nil, err
109110
}
110111
return &req.Status, nil
111112
}

0 commit comments

Comments
 (0)