Skip to content

Commit 384a944

Browse files
committed
bug fix
1 parent 311af36 commit 384a944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/sealos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (s *SealosInstaller) JoinNodes() {
8686
func (s *SealosInstaller) decodeOutput(output []byte) {
8787
s0 := string(output)
8888
slice := strings.Split(s0, "kubeadm join")
89-
slice1 := strings.Split(slice[1], "\n\n")
89+
slice1 := strings.Split(slice[1], "Please note")
9090
fmt.Println(" join command is: ", slice1[0])
9191
s.decodeJoinCmd(slice1[0])
9292
}

0 commit comments

Comments
 (0)