Skip to content

Commit 7cf8253

Browse files
committed
style: add newline after multi-line if condition per whitespace linter
1 parent 55059ff commit 7cf8253

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/validator/checks/conformance/helpers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ func podStuckReason(pod *corev1.Pod) string {
228228
for _, cond := range pod.Status.Conditions {
229229
if cond.Type == corev1.PodScheduled && cond.Status == corev1.ConditionFalse &&
230230
cond.Reason == string(corev1.PodReasonUnschedulable) {
231+
231232
return fmt.Sprintf("Unschedulable: %s", cond.Message)
232233
}
233234
}

0 commit comments

Comments
 (0)