mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
cli: write target k8s version to config if new version is found on upgrade check (#1862)
This commit is contained in:
parent
b2527d314e
commit
7c34aef263
@ -495,7 +495,7 @@ func (v *versionUpgrade) writeConfig(conf *config.Config, fileHandler file.Handl
|
||||
if v.newServices != "" {
|
||||
conf.MicroserviceVersion = v.newServices
|
||||
}
|
||||
if len(v.newServices) > 0 {
|
||||
if len(v.newKubernetes) > 0 {
|
||||
conf.KubernetesVersion = v.newKubernetes[0]
|
||||
}
|
||||
if len(v.newImages) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user