Print hostname of the machine registered

This commit is contained in:
Juan Font Alonso 2022-11-13 22:40:57 +01:00 committed by Kristoffer Dalby
parent a9251d6652
commit 73c84d4f6a

View file

@ -134,7 +134,9 @@ var registerNodeCmd = &cobra.Command{
return return
} }
SuccessOutput(response.Machine, "Machine register", output) SuccessOutput(
response.Machine,
fmt.Sprintf("Machine %s registered", response.Machine.GivenName), output)
}, },
} }