Skip to content

Commit

Permalink
Reverted useless change in oidc state
Browse files Browse the repository at this point in the history
  • Loading branch information
akgalwas committed Nov 29, 2024
1 parent ff6905a commit 90f1516
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/controller/runtime/fsm/runtime_fsm_configure_oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func sFnConfigureOidc(ctx context.Context, m *fsm, s *systemState) (stateFn, *ct

if !isOidcExtensionEnabled(*s.shoot) {
m.log.Info("OIDC extension is disabled")
(&s.instance).UpdateStatePending(
s.instance.UpdateStatePending(
imv1.ConditionTypeOidcConfigured,
imv1.ConditionReasonOidcConfigured,
"True",
Expand All @@ -32,7 +32,7 @@ func sFnConfigureOidc(ctx context.Context, m *fsm, s *systemState) (stateFn, *ct
if !multiOidcSupported(s.instance) {
// New OIDC functionality is supported only for new clusters
m.log.Info("Multi OIDC is not supported for migrated runtimes")
(&s.instance).UpdateStatePending(
s.instance.UpdateStatePending(
imv1.ConditionTypeOidcConfigured,
imv1.ConditionReasonOidcConfigured,
"True",
Expand All @@ -51,7 +51,7 @@ func sFnConfigureOidc(ctx context.Context, m *fsm, s *systemState) (stateFn, *ct
}

m.log.Info("OIDC has been configured", "Name", s.shoot.Name)
(&s.instance).UpdateStatePending(
s.instance.UpdateStatePending(
imv1.ConditionTypeOidcConfigured,
imv1.ConditionReasonOidcConfigured,
"True",
Expand Down

0 comments on commit 90f1516

Please sign in to comment.