mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
enable gofumpt formatter
Based on our discussion gofumpt won the vote so use that one via golangci-lint. https://github.com/containers/podman/discussions/27291 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -57,9 +57,7 @@ func GetDiskArtifactReference(ctx context.Context, imgSrc types.ImageSource, opt
|
||||
return "", fmt.Errorf("failed to parse manifest list from blob: %q", err)
|
||||
}
|
||||
|
||||
var (
|
||||
artifactDigest digest.Digest
|
||||
)
|
||||
var artifactDigest digest.Digest
|
||||
for _, d := range mannyFestList.Instances() {
|
||||
bar, err := mannyFestList.Instance(d)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user