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
pkg/cli/admin/upgrade/recommend: Drop obsolete precheckEnabled knob
Since 8bdac16 (pkg/cli/admin/upgrade/recommend: Enable precheck and
accept gates, 2025-09-03, #2088), this knob has always been enabled.
Save ourselves a no longer necessary level of indentation by removing
it completely.
fmt.Fprintf(o.Out, "The following conditions found no cause for concern in updating this cluster to later releases: %s\n\n", strings.Join(happyConditions, ", "))
219
-
}
220
-
iflen(acceptedConditions) >0 {
221
-
sort.Strings(acceptedConditions)
222
-
fmt.Fprintf(o.Out, "The following conditions found cause for concern in updating this cluster to later releases, but were explicitly accepted via --accept: %s\n\n", strings.Join(acceptedConditions, ", "))
223
-
}
224
-
iflen(unhappyConditions) >0 {
225
-
sort.Strings(unhappyConditions)
226
-
fmt.Fprintf(o.Out, "The following conditions found cause for concern in updating this cluster to later releases: %s\n\n", strings.Join(unhappyConditions, ", "))
211
+
if!o.quiet {
212
+
iflen(happyConditions) >0 {
213
+
sort.Strings(happyConditions)
214
+
fmt.Fprintf(o.Out, "The following conditions found no cause for concern in updating this cluster to later releases: %s\n\n", strings.Join(happyConditions, ", "))
215
+
}
216
+
iflen(acceptedConditions) >0 {
217
+
sort.Strings(acceptedConditions)
218
+
fmt.Fprintf(o.Out, "The following conditions found cause for concern in updating this cluster to later releases, but were explicitly accepted via --accept: %s\n\n", strings.Join(acceptedConditions, ", "))
219
+
}
220
+
iflen(unhappyConditions) >0 {
221
+
sort.Strings(unhappyConditions)
222
+
fmt.Fprintf(o.Out, "The following conditions found cause for concern in updating this cluster to later releases: %s\n\n", strings.Join(unhappyConditions, ", "))
0 commit comments