mirror of
https://github.com/rancher/rke.git
synced 2025-09-02 15:34:36 +00:00
Log error message on failure to get legacy cluster state from k8s
This commit is contained in:
committed by
Alena Prokharchyk
parent
3575d8ae6a
commit
ad415059cb
@@ -89,7 +89,7 @@ func ClusterInit(ctx context.Context, rkeConfig *v3.RancherKubernetesEngineConfi
|
||||
if strings.Contains(err.Error(), "aborting upgrade") {
|
||||
return err
|
||||
}
|
||||
log.Warnf(ctx, "[state] can't fetch legacy cluster state from Kubernetes")
|
||||
log.Warnf(ctx, "[state] can't fetch legacy cluster state from Kubernetes: %v", err)
|
||||
}
|
||||
// check if certificate rotate or normal init
|
||||
if kubeCluster.RancherKubernetesEngineConfig.RotateCertificates != nil {
|
||||
|
Reference in New Issue
Block a user