mirror of https://github.com/k3s-io/k3s
commit
893e87bf30
|
@ -489,7 +489,7 @@ func rollbackOldManifests(oldManifests map[string]string, origErr error, pathMgr
|
||||||
return fmt.Errorf("couldn't upgrade control plane. kubeadm has tried to recover everything into the earlier state. Errors faced: %v", errs)
|
return fmt.Errorf("couldn't upgrade control plane. kubeadm has tried to recover everything into the earlier state. Errors faced: %v", errs)
|
||||||
}
|
}
|
||||||
|
|
||||||
// rollbackEtcdData rolls back the the content of etcd folder if something went wrong.
|
// rollbackEtcdData rolls back the content of etcd folder if something went wrong.
|
||||||
// When the folder contents are successfully rolled back, nil is returned, otherwise an error is returned.
|
// When the folder contents are successfully rolled back, nil is returned, otherwise an error is returned.
|
||||||
func rollbackEtcdData(cfg *kubeadmapi.InitConfiguration, pathMgr StaticPodPathManager) error {
|
func rollbackEtcdData(cfg *kubeadmapi.InitConfiguration, pathMgr StaticPodPathManager) error {
|
||||||
backupEtcdDir := pathMgr.BackupEtcdDir()
|
backupEtcdDir := pathMgr.BackupEtcdDir()
|
||||||
|
|
|
@ -501,7 +501,7 @@ func (subnet HTTPProxyCIDRCheck) Check() (warnings, errors []error) {
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SystemVerificationCheck defines struct used for for running the system verification node check in test/e2e_node/system
|
// SystemVerificationCheck defines struct used for running the system verification node check in test/e2e_node/system
|
||||||
type SystemVerificationCheck struct {
|
type SystemVerificationCheck struct {
|
||||||
IsDocker bool
|
IsDocker bool
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue