Skip to content

Commit d4eee3f

Browse files
authored
Merge pull request #8046 from killianmuldoon/pr-update-golangci-lint
🌱 Update golangci-lint to v1.51.0
2 parents ed17dce + 6e25b5c commit d4eee3f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
- name: golangci-lint
3030
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # tag=v3.4.0
3131
with:
32-
version: v1.50.1
32+
version: v1.51.0
3333
working-directory: ${{matrix.working-directory}}

util/container/image.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ limitations under the License.
1818
package container
1919

2020
import (
21-
// Import the crypto sha256 algorithm for the docker image parser to work
22-
_ "crypto/sha256"
23-
// Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes
24-
_ "crypto/sha512"
21+
_ "crypto/sha256" // Import the crypto/sha256 algorithm for the docker image parser to work with sha256 hashes.
22+
_ "crypto/sha512" // Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes.
2523
"fmt"
2624
"path"
2725
"regexp"

0 commit comments

Comments
 (0)