Simplify an increment

golangci-lint linter: gocritic

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač
2023-02-02 21:24:03 +01:00
parent efc6e837c6
commit 9137ac5697

View File

@@ -567,7 +567,7 @@ func matchLayerBlobBinaryType(c *check.C, ociImageDirPath string, contentType st
c.Assert(err, check.IsNil)
if layerContentType == contentType {
foundCount = foundCount + 1
foundCount++
}
}