fix: run make lint-fix

Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
This commit is contained in:
Mario Constanti 2024-02-22 10:56:33 +01:00
parent 3fd09f6dcd
commit cbe8f09412
3 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -98,7 +98,7 @@ func setupLogging(ctx context.Context, logCfg config.Logging, hub *websocket.Hub
}
}()
var writers = []io.Writer{
writers := []io.Writer{
logWriter,
}

View file

@ -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 {