automation-tests/common/pkg/manifests
Kir Kolyshkin 521e67f70d pkg/manifests: Serialize: fix gocritic warnings
Like this one:

	pkg/manifests/manifests.go:449:4: importShadow: shadow of imported from 'github.com/containers/image/v5/manifest' package 'manifest' (gocritic)
				manifest, err := json.Marshal(&l.oci)
				^

First, this is not always a "manifest" (sometimes it's OCI image index).
Second, using two variables (manifest and manifestBytes) is not needed.
Finally, rename manifest to res (stands for result).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-04-09 17:34:01 -07:00
..
testdata new libimage package 2021-04-21 11:17:47 +02:00
errors.go new libimage package 2021-04-21 11:17:47 +02:00
manifests.go pkg/manifests: Serialize: fix gocritic warnings 2022-04-09 17:34:01 -07:00
manifests_test.go Gofumpt the code 2022-04-09 16:50:11 -07:00