Skip to content

Commit

Permalink
Bump golangci-lint + fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Theile <[email protected]>
  • Loading branch information
votdev authored and FrankYang0529 committed Apr 17, 2024
1 parent 576c559 commit e03983a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e03983a

Please sign in to comment.