Skip to content

Commit

Permalink
role is controller not controller+worker
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Oct 18, 2023
1 parent cee6046 commit c73a5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handlers/helmvm_node_join_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (h *Handler) GenerateHelmVMNodeJoinCommandPrimary(w http.ResponseWriter, r
return
}

command, expiry, err := helmvm.GenerateAddNodeCommand(r.Context(), client, "controller+worker")
command, expiry, err := helmvm.GenerateAddNodeCommand(r.Context(), client, "controller")
if err != nil {
logger.Error(err)
w.WriteHeader(http.StatusInternalServerError)
Expand Down

0 comments on commit c73a5fc

Please sign in to comment.