From 052db984ad73ddb0ba66237e93a48b5e120e6a4e Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期三, 31 五月 2023 20:13:58 +0800
Subject: [PATCH] 获取集群 tmp

---
 src/rancher/rancher.go |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/rancher/rancher.go b/src/rancher/rancher.go
index 80b2662..2c32007 100644
--- a/src/rancher/rancher.go
+++ b/src/rancher/rancher.go
@@ -6,7 +6,6 @@
 	"basic.com/aps/aps_deploy.git/src/util"
 )
 
-
 type Node struct {
 	Roles       []string `json:"roles"`
 	IP          string   `json:"ip"`
@@ -15,14 +14,12 @@
 	SSHPort     int      `json:"sshPort"`
 }
 
-
 type RancherClusterConfig struct {
 	RancherURL  string `json:"rancherURL"`
 	BearerToken string `json:"bearerToken"`
-	ClusterName string   `mapstructure:"ClusterName"`
-	Nodes       []Node   `mapstructure:"Nodes"`
+	ClusterName string `mapstructure:"ClusterName"`
+	Nodes       []Node `mapstructure:"Nodes"`
 }
-
 
 func isRancherInstalled(ip, username, password string, sshPort int) (bool, error) {
 	// 妫�鏌ancher瀹瑰櫒鏄惁宸茶繍琛�

--
Gitblit v1.8.0