Skip to content

Commit 6339778

Browse files
committed
switch to using interface func for consistency
1 parent 14f91d8 commit 6339778

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)