Print the name of the registered machine

This commit is contained in:
Juan Font Alonso 2022-11-13 12:24:05 +01:00
parent f63d22655c
commit f7ad88aa08

View File

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