Skip to content

Commit

Permalink
Bumped the version of golangci-lint (sealerio#2312)
Browse files Browse the repository at this point in the history
Signed-off-by: Yinuo Deng <[email protected]>
Signed-off-by: sjcsjc123 <[email protected]>
  • Loading branch information
dynos01 authored and sjcsjc123 committed Oct 26, 2023
1 parent 49ac68b commit eb8e77a
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 eb8e77a

Please sign in to comment.