Skip to content

Commit

Permalink
log k0s join command for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Nov 15, 2023
1 parent 302e5e6 commit c913f06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/handlers/embedded_cluster_node_join_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ func (h *Handler) GetEmbeddedClusterNodeJoinCommand(w http.ResponseWriter, r *ht
return
}

logger.Infof("k0s join command: \n%s", k0sJoinCommand)

clusterID, err := embeddedcluster.ClusterID(client)
if err != nil {
logger.Error(fmt.Errorf("failed to get cluster id: %w", err))
Expand Down

0 comments on commit c913f06

Please sign in to comment.