From cbeda854cf6b9d2c04c8a65b5035873370b8ec6b Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 2 Sep 2026 16:06:28 +0200 Subject: [PATCH] [client] Restore the gofmt alignment of the error constants The comment added above errUpdateSettingsDisabled in the previous commit split the const block's alignment group, so gofmt wants the two constants above it re-aligned. CI runs gofmt, so this would have failed the lint job. --- client/server/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/server/server.go b/client/server/server.go index d352a6648..a9f3a3c6d 100644 --- a/client/server/server.go +++ b/client/server/server.go @@ -57,8 +57,8 @@ const ( // JWT token cache TTL for the client daemon (disabled by default) defaultJWTCacheTTL = 0 - errRestoreResidualState = "failed to restore residual state: %v" - errProfilesDisabled = "profiles are disabled, you cannot use this feature without profiles enabled" + errRestoreResidualState = "failed to restore residual state: %v" + errProfilesDisabled = "profiles are disabled, you cannot use this feature without profiles enabled" // errUpdateSettingsDisabled is returned with codes.FailedPrecondition, not // codes.Unavailable: the daemon answered, and it refused. Unavailable means // "the daemon cannot serve this", which is why the CLI downgrades it to a