Skip to content

Commit

Permalink
Merge pull request #50 from thibaultmg/fix_lint
Browse files Browse the repository at this point in the history
Fix deployment of preceding PR
  • Loading branch information
philipgough authored Jan 9, 2024
2 parents 3a34c4c + 678094f commit e1e1857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-alpine3.15 as builder
FROM golang:1.21-alpine3.18 as builder

RUN apk add ca-certificates --no-cache make && update-ca-certificates

Expand Down
4 changes: 2 additions & 2 deletions cmd/up/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func parseQueriesFileName(opts *options.Options, l log.Logger, queriesFileName s
}

qf := CallsFile{}
err = yaml.Unmarshal(b, &qf)
err = yaml.Unmarshal(b, &qf) //nolint:typecheck

if err != nil {
return fmt.Errorf("--queries-file content is invalid: %w", err)
Expand Down Expand Up @@ -601,7 +601,7 @@ func parseLogsFileName(opts *options.Options, l log.Logger, logsFileName string)
}

lf := logsFile{}
err = yaml.Unmarshal(b, &lf)
err = yaml.Unmarshal(b, &lf) //nolint:typecheck

if err != nil {
return fmt.Errorf("--logs-file content is invalid: %w", err)
Expand Down

0 comments on commit e1e1857

Please sign in to comment.