fix: run make lint-fix
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
parent
3fd09f6dcd
commit
cbe8f09412
3 changed files with 2 additions and 3 deletions
|
|
@ -49,7 +49,6 @@ import (
|
|||
_ "expvar" // Register the expvar handlers
|
||||
"log/slog"
|
||||
"net/http"
|
||||
|
||||
// nolint:golangci-lint,gosec
|
||||
_ "net/http/pprof" // Register the pprof handlers
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ func setupLogging(ctx context.Context, logCfg config.Logging, hub *websocket.Hub
|
|||
}
|
||||
}()
|
||||
|
||||
var writers = []io.Writer{
|
||||
writers := []io.Writer{
|
||||
logWriter,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ func (g GithubCredentials) RootCertificateBundle() (CertificateBundle, error) {
|
|||
ret := map[string][]byte{}
|
||||
|
||||
var block *pem.Block
|
||||
var rest = g.CABundle
|
||||
rest := g.CABundle
|
||||
for {
|
||||
block, rest = pem.Decode(rest)
|
||||
if block == nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue