Skip to content

Commit

Permalink
INFOPLAT-1560 Runs formating and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
hendoxc committed Dec 17, 2024
1 parent 5acee42 commit 13fd01c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/beholder/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -104,7 +104,6 @@ func (a *authHeaderPerRPCredentials) refresh() {
}
// Set the lastUpdated time to now
a.lastUpdated = timeNow
return
}

// AuthHeaderConfig configures buildAuthHeadersV2
Expand Down

0 comments on commit 13fd01c

Please sign in to comment.