diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 632aa51d..07b8315a 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -325,6 +325,7 @@ func (cli *CLI) AddMachine( return nil, fmt.Errorf("join cluster: %w", err) } + // TODO: fix empty context name when using the current context (contextName == ""). fmt.Printf("Machine '%s' added to the cluster (context '%s').\n", addResp.Machine.Name, contextName) // Save the machine's SSH connection details in the context config.