From 62b489dc686c090a025329673c67e28f441d14e1 Mon Sep 17 00:00:00 2001 From: jasonrepos Date: Tue, 13 May 2025 19:40:17 +0100 Subject: [PATCH] fix: change FormatUint base from 64 to 10 in preauthkeys list command (#2588) --- cmd/headscale/cli/preauthkeys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/headscale/cli/preauthkeys.go b/cmd/headscale/cli/preauthkeys.go index 8431149a..c0c08831 100644 --- a/cmd/headscale/cli/preauthkeys.go +++ b/cmd/headscale/cli/preauthkeys.go @@ -112,7 +112,7 @@ var listPreAuthKeys = &cobra.Command{ aclTags = strings.TrimLeft(aclTags, ",") tableData = append(tableData, []string{ - strconv.FormatUint(key.GetId(), 64), + strconv.FormatUint(key.GetId(), 10), key.GetKey(), strconv.FormatBool(key.GetReusable()), strconv.FormatBool(key.GetEphemeral()),