mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
Fix: compile the abnormal
Signed-off-by: pixiake <guofeng@yunify.com>
This commit is contained in:
parent
c097cdcfa6
commit
660f0e957c
2
go.mod
2
go.mod
|
|
@ -25,7 +25,7 @@ require (
|
|||
k8s.io/cli-runtime v0.18.8
|
||||
k8s.io/client-go v0.18.8
|
||||
k8s.io/code-generator v0.18.8
|
||||
k8s.io/klog/v2 v2.0.0
|
||||
k8s.io/klog/v2 v2.0.0 // indirect
|
||||
k8s.io/kubectl v0.18.8
|
||||
rsc.io/letsencrypt v0.0.3 // indirect
|
||||
sigs.k8s.io/controller-runtime v0.6.2
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ func AddNodes(clusterCfgFile, k8sVersion, ksVersion string, logger *log.Logger,
|
|||
|
||||
var clientset *kubekeyclientset.Clientset
|
||||
if inCluster {
|
||||
c, err := kubekeycontroller.KubekeyClient()
|
||||
c, err := kubekeycontroller.NewKubekeyClient()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue