mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-12 17:59:06 +02:00
[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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user