From f7ad88aa0878384309d8be8ef11eae3e34eb09e1 Mon Sep 17 00:00:00 2001 From: Juan Font Alonso Date: Sun, 13 Nov 2022 12:24:05 +0100 Subject: [PATCH] Print the name of the registered machine --- cmd/headscale/cli/nodes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/headscale/cli/nodes.go b/cmd/headscale/cli/nodes.go index b8a7dbb5..679517a8 100644 --- a/cmd/headscale/cli/nodes.go +++ b/cmd/headscale/cli/nodes.go @@ -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) }, }