diff --git a/Dockerfile.dapper b/Dockerfile.dapper index e93abfd32..6aa230404 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -6,7 +6,7 @@ ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} RUN zypper -n rm container-suseconnect && \ zypper -n install git curl docker gzip tar wget awk -RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.2 +RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.57.1 ENV DAPPER_ENV REPO TAG DRONE_TAG diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 5796bdde2..94de69de5 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -89,7 +89,7 @@ func main() { app := cli.NewApp() app.Flags = flags - app.Action = func(c *cli.Context) { + app.Action = func(_ *cli.Context) { setLogLevel(logLevel) if err := run(ctx, cfg, &options); err != nil { logrus.Fatalf("run webhook server failed: %v", err)