From 13fd01c6974218d06e0a703ff2b9de00f06c1eef Mon Sep 17 00:00:00 2001 From: hendoxc Date: Tue, 17 Dec 2024 12:56:32 -0700 Subject: [PATCH] INFOPLAT-1560 Runs formating and linting --- pkg/beholder/auth.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/beholder/auth.go b/pkg/beholder/auth.go index 6e589745b..1867e5334 100644 --- a/pkg/beholder/auth.go +++ b/pkg/beholder/auth.go @@ -55,9 +55,9 @@ func NewAuthHeaderProvider(privKey ed25519.PrivateKey, config *AuthHeaderProvide } creds := &authHeaderPerRPCredentials{ - privKey: privKey, - headerTTL: config.HeaderTTL, - version: config.Version, + privKey: privKey, + headerTTL: config.HeaderTTL, + version: config.Version, requireTransportSecurity: config.RequireTransportSecurity, } // Initialize the headers ~ lastUpdated is 0 so the headers are generated on the first call @@ -104,7 +104,6 @@ func (a *authHeaderPerRPCredentials) refresh() { } // Set the lastUpdated time to now a.lastUpdated = timeNow - return } // AuthHeaderConfig configures buildAuthHeadersV2