mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-16 16:00:30 +00:00
This fixes possible problems when kubeadm upgrade can't load the InitConfig properly. Some new code introduced in https://github.com/kubernetes/kubernetes/pull/75499 is placed between the loading of the config and the error handling, hiding possible errors. This error cannot be ignored (as is the case now), since the cfg ptr. returned from the configutil function will be nil in the case of an error. Signed-off-by: Odin Ugedal <odin@ugedal.com>