Skip to content

Commit e08b06f

Browse files
committed
Log when plan has finished
1 parent 23cc193 commit e08b06f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/deployment/reconcile/plan_executor.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ func (d *Reconciler) ExecutePlan(ctx context.Context) (bool, error) {
4444
for {
4545
loopStatus, _ := d.context.GetStatus()
4646
if len(loopStatus.Plan) == 0 {
47-
// No plan exists, nothing to be done
47+
// No plan exists or all action have finished, nothing to be done
48+
if !firstLoop {
49+
log.Debug().Msg("Reconciliation plan has finished")
50+
}
4851
return !firstLoop, nil
4952
}
5053
firstLoop = false

0 commit comments

Comments
 (0)