We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef791c commit 658cd39Copy full SHA for 658cd39
phase/gather_k0s_facts.go
@@ -124,7 +124,7 @@ func (p *GatherK0sFacts) needsUpgrade(h *cluster.Host) bool {
124
// If supplimental files or a k0s binary have been specified explicitly,
125
// always upgrade. This covers the scenario where a user moves from a
126
// default-install cluster to one fed by OCI image bundles (ie. airgap)
127
- if len(h.Files) != 0 || len(h.K0sBinaryPath) == 0 {
+ if len(h.Files) > 0 || h.K0sBinaryPath != "" {
128
return true
129
}
130
0 commit comments