chroe: add TODO to fix empty context in output message when adding machines

This commit is contained in:
Pavel Sviderski
2025-04-10 20:29:52 +10:00
parent df4ab40e12
commit 410a95ec88
+1
View File
@@ -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.