diff --git a/cmd/mesh-controller/same_program.go b/cmd/mesh-controller/same_program.go index 528a0ec6..c4161a76 100644 --- a/cmd/mesh-controller/same_program.go +++ b/cmd/mesh-controller/same_program.go @@ -102,11 +102,13 @@ func leaveSameAsRunning(ctx context.Context, inv *inventory.Inventory, plan *inv builds, err := checkedBuildsOf(ctx, pulls) if err != nil { fmt.Printf(" the checks' builds could not be read, so every module moves: %v\n", err) + // empty-on-error: said above; nothing left out of the walk is the safe answer, every module moves as before return nil } held, err := inv.Held(ctx) if err != nil { fmt.Printf(" what the mesh holds could not be read, so every module moves: %v\n", err) + // empty-on-error: said above; nothing left out of the walk is the safe answer, every module moves as before return nil } same := sameAsRunning(plan, builds, held)