mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
commit
1fbf7c5542
@ -70,7 +70,7 @@ func UploadConfiguration(cfg *kubeadmapi.InitConfiguration, client clientset.Int
|
|||||||
}
|
}
|
||||||
clusterStatus.APIEndpoints[cfg.NodeRegistration.Name] = cfg.APIEndpoint
|
clusterStatus.APIEndpoints[cfg.NodeRegistration.Name] = cfg.APIEndpoint
|
||||||
|
|
||||||
// Marshal the ClusterStatus back into into YAML
|
// Marshal the ClusterStatus back into YAML
|
||||||
clusterStatusYaml, err := configutil.MarshalKubeadmConfigObject(clusterStatus)
|
clusterStatusYaml, err := configutil.MarshalKubeadmConfigObject(clusterStatus)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user