1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 21:52:08 +00:00

fix golint errors

This commit is contained in:
Krunal Hingu
2025-02-21 14:07:20 +05:30
parent 37ef1abcbf
commit 3509bfad9d
4 changed files with 4 additions and 4 deletions

View File

@@ -259,7 +259,7 @@ func ClusterUp(ctx context.Context, dialersOptions hosts.DialersOptions, flags c
}
if errMsgMaxUnavailableNotFailedCtrl != "" || errMsgMaxUnavailableNotFailedWrkr != "" {
return APIURL, caCrt, clientCert, clientKey, nil, fmt.Errorf(errMsgMaxUnavailableNotFailedCtrl + errMsgMaxUnavailableNotFailedWrkr)
return APIURL, caCrt, clientCert, clientKey, nil, fmt.Errorf("%s%s", errMsgMaxUnavailableNotFailedCtrl, errMsgMaxUnavailableNotFailedWrkr)
}
log.Infof(ctx, "Finished building Kubernetes cluster successfully")
return APIURL, caCrt, clientCert, clientKey, kubeCluster.Certificates, nil