Skip to content

Commit 9bd4580

Browse files
authored
fix: show error when using join command (#2979)
1 parent df22c33 commit 9bd4580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/vclusterctl/cmd/token/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (cmd *CreateCmd) Run(ctx context.Context) error {
8080
if cmd.Kubeadm {
8181
fmt.Printf("kubeadm join %s --token %s --discovery-token-ca-cert-hash %s\n", apiEndpoint, token, caHash)
8282
} else {
83-
fmt.Printf("curl -sfLk \"https://%s/node/join?token=%s\" | sh -\n", apiEndpoint, url.QueryEscape(token))
83+
fmt.Printf("curl -fsSLk \"https://%s/node/join?token=%s\" | sh -\n", apiEndpoint, url.QueryEscape(token))
8484
}
8585

8686
return nil

0 commit comments

Comments
 (0)