mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
chroe: add TODO to fix empty context in output message when adding machines
This commit is contained in:
@@ -325,6 +325,7 @@ func (cli *CLI) AddMachine(
|
|||||||
return nil, fmt.Errorf("join cluster: %w", err)
|
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)
|
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.
|
// Save the machine's SSH connection details in the context config.
|
||||||
|
|||||||
Reference in New Issue
Block a user