Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fanux committed Apr 11, 2019
1 parent 311af36 commit 384a944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/sealos.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (s *SealosInstaller) JoinNodes() {
func (s *SealosInstaller) decodeOutput(output []byte) {
s0 := string(output)
slice := strings.Split(s0, "kubeadm join")
slice1 := strings.Split(slice[1], "\n\n")
slice1 := strings.Split(slice[1], "Please note")
fmt.Println(" join command is: ", slice1[0])
s.decodeJoinCmd(slice1[0])
}
Expand Down

0 comments on commit 384a944

Please sign in to comment.