chore: bump golangci-lint and fix govert issues

The latest golangci-lint spits out some govet issues.
This commit fixes them. We are also bumping the linter version.

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
This commit is contained in:
Milos Gajdos
2024-08-30 10:28:24 +01:00
parent ba2841b0ce
commit 170ac07a5e
8 changed files with 17 additions and 18 deletions

View File

@@ -1107,7 +1107,7 @@ func testBlobDelete(t *testing.T, env *testEnv, args blobArgs) {
ref, _ := reference.WithDigest(imageName, layerDigest)
layerURL, err := env.builder.BuildBlobURL(ref)
if err != nil {
t.Fatalf(err.Error())
t.Fatal(err.Error())
}
// ---------------
// Delete a layer