Skip to content

Commit aaef086

Browse files
bomokoBlaize Kaye
andauthored
Better debugging output for task scaling (#448)
* Better debugging output * little tweak to output --------- Co-authored-by: Blaize Kaye <[email protected]>
1 parent 3613b61 commit aaef086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/lagoon/tasks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func ExecTaskInPod(
285285
if debug {
286286
fmt.Printf("Task '%v' executed in pod %v \n", task.Name, pod.Name)
287287
if numIterations > 1 {
288-
fmt.Printf("Scaled up pods to %d replicas before executing task\n", numIterations)
288+
fmt.Printf("Pod scaling function called %d time(s) before executing task\n", (numIterations - 1))
289289
}
290290
if task.ScaleWaitTime > 0 {
291291
fmt.Printf("Waited %d seconds before executing task\n", task.ScaleWaitTime)

0 commit comments

Comments
 (0)