mirror of
https://github.com/containers/skopeo.git
synced 2025-09-03 23:55:21 +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)
|
c.Assert(err, check.IsNil)
|
||||||
|
|
||||||
if layerContentType == contentType {
|
if layerContentType == contentType {
|
||||||
foundCount = foundCount + 1
|
foundCount++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user