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