Skip to content

Commit cc940ea

Browse files
Merge pull request #940 from liouk/OCPBUGS-44556
OCPBUGS-44556: console/status: set initial value of Message field
2 parents 570755c + 4b0b176 commit cc940ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/console/status/auth_status.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,14 @@ func existingOrNewCondition(applyConfig *configv1ac.AuthenticationApplyConfigura
155155
tt = metav1.Now()
156156
reason = "Unknown"
157157
status = metav1.ConditionUnknown
158+
msg = ""
158159
)
159160
condition = &applymetav1.ConditionApplyConfiguration{
160161
Type: &conditionType,
161162
Status: &status,
162163
LastTransitionTime: &tt,
163164
Reason: &reason,
165+
Message: &msg,
164166
}
165167
}
166168

0 commit comments

Comments
 (0)