We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9ea99a commit 9ea24f3Copy full SHA for 9ea24f3
1 file changed
pkg/identity/keystone/authenticator.go
@@ -66,6 +66,9 @@ func (k *Keystoner) GetTokenInfo(ctx context.Context, token string) (*tokenInfo,
66
if err != nil {
67
return nil, fmt.Errorf("failed to extract project information from Keystone response: %v", err)
68
}
69
+ if project == nil {
70
+ return nil, fmt.Errorf("failed to extract project information from Keystone response")
71
+ }
72
73
roles, err := ret.ExtractRoles()
74
0 commit comments