mirror of
https://github.com/containers/skopeo.git
synced 2025-09-03 15:46:42 +00:00
Simplify an increment
golangci-lint linter: gocritic Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@@ -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++
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user