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
logger.Logf("installation of Elastic Agent will use --unprivileged as both start and end version support --unprivileged mode")
@@ -225,11 +217,8 @@ func PerformUpgrade(
225
217
upgradeOpts.unprivileged=&unprivileged
226
218
}
227
219
} elseif*upgradeOpts.unprivileged {
228
-
ifstartVersion.Less(*Version_8_13_0_SNAPSHOT) {
229
-
returnerrors.New("cannot install starting version with --unprivileged (which is default) because the it is older than 8.13")
230
-
}
231
-
ifendVersion.Less(*Version_8_13_0_SNAPSHOT) {
232
-
returnerrors.New("cannot upgrade to ending version as end version doesn't support running with --unprivileged (which is default) because it is older than 8.13")
returnfmt.Errorf("cannot install with forced --unprivileged because either start version %s or end version %s doesn't support --unprivileged mode", startVersion.String(), endVersion.String())
0 commit comments