Skip to content

Commit b2a14d4

Browse files
adjust string separator
1 parent 1f8d967 commit b2a14d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/controller/utils.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ func (esr *EventStatusRecorder) Report(ctx context.Context, o ObjectWithConditio
8989
logger := log.FromContext(ctx)
9090

9191
if errExt != nil {
92-
condition.Message = condition.Message + "," + errExt.Error()
92+
condition.Message = condition.Message + ", " + errExt.Error()
9393
logger.Error(errExt, condition.Message)
9494
}
9595

96-
condition.Message = strings.Join(append([]string{condition.Message}, additionalMessages...), ",")
96+
condition.Message = strings.Join(append([]string{condition.Message}, additionalMessages...), ", ")
9797
condition.ObservedGeneration = o.GetGeneration()
9898

9999
conditionChanged := apismeta.SetStatusCondition(o.Conditions(), condition)

0 commit comments

Comments
 (0)