Move CR Check Compatibility to showNoK8sVersionInfo
parent
8c4f6e8f87
commit
1c2d4f4515
|
@ -99,10 +99,6 @@ func Start(starter Starter, apiServer bool) (*kubeconfig.Settings, error) {
|
||||||
nv := semver.Version{Major: 0, Minor: 0, Patch: 0}
|
nv := semver.Version{Major: 0, Minor: 0, Patch: 0}
|
||||||
cr := configureRuntimes(starter.Runner, *starter.Cfg, nv)
|
cr := configureRuntimes(starter.Runner, *starter.Cfg, nv)
|
||||||
|
|
||||||
if err = cruntime.CheckCompatibility(cr); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
showNoK8sVersionInfo(cr)
|
showNoK8sVersionInfo(cr)
|
||||||
|
|
||||||
configureMounts(&wg, *starter.Cfg)
|
configureMounts(&wg, *starter.Cfg)
|
||||||
|
|
Loading…
Reference in New Issue