Skip to content

Commit 3778b36

Browse files
authored
Merge pull request #3733 from luthermonson/oidc-func
switch to using interface func for consistency
2 parents 2a54ad2 + 6339778 commit 3778b36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cloud/services/eks/identity_provider.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ import (
3131

3232
func (s *Service) reconcileIdentityProvider(ctx context.Context) error {
3333
s.scope.Info("reconciling oidc identity provider")
34-
if s.scope.ControlPlane.Spec.OIDCIdentityProviderConfig == nil {
34+
if s.scope.OIDCIdentityProviderConfig() == nil {
35+
s.scope.Info("no oidc provider config, skipping reconcile")
3536
return nil
3637
}
3738

0 commit comments

Comments
 (0)