You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- mcr upgrade now:
- skips if an install was just run
- skips if the host config has the "skipUpgrade" flag
ALSO:
- small go fmt change on the helm testutil
Signed-off-by: James Nesbitt <[email protected]>
Copy file name to clipboardExpand all lines: pkg/mcr/mcr.go
+4-12
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ import (
9
9
)
10
10
11
11
// EnsureMCRVersion ensure that MCR is running after install/upgrade, and update the host information
12
-
// @NOTE will reboot the machine if MCR isn't detected, and MCR can be force restarted if desired (I could drop the mcr restart, but I kept it in case we want a run-time flag for it.)
12
+
// @NOTE will reboot the machine if MCR isn't detected
13
13
// @SEE PRODENG-2789 : we no longer perform version checks, as the MCR versions don't always match the spec string.
returnfmt.Errorf("failed while attempting to ensure the installed version: %w", err)
186
189
}
187
190
191
+
log.Infof("%s: mcr upgrade has been run", h)
192
+
log.Debugf("%s: mcr upgrade means that any planned MCR restarts are cancelled", h)
193
+
// the upgraded machine "may" have been restarted. We don't really know, but we err on the side of reducing restarts. We likely need a flag to force a restart.
0 commit comments