Skip to content

Commit

Permalink
Bumped the version of golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yinuo Deng <[email protected]>
  • Loading branch information
dynos01 committed Oct 26, 2023
1 parent ec4a2c7 commit a6199b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
fi
- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.39.0
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.44.0

- name: Run Linter
run: golangci-lint run -v
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ issues:
# https://github.com/golangci/golangci/wiki/Configuration
service:
# use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.39.0
golangci-lint-version: 1.44.0
2 changes: 1 addition & 1 deletion pkg/imageengine/buildah/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

func (engine *Engine) Inspect(opts *options.InspectOptions) (*imagev1.ImageSpec, error) {
if len(opts.ImageNameOrID) == 0 {
return nil, errors.Errorf("image name or image id must be specified.")
return nil, errors.Errorf("image name or image id must be specified")
}

var (
Expand Down

0 comments on commit a6199b1

Please sign in to comment.