mirror of
https://github.com/containers/podman.git
synced 2025-11-28 17:18:58 +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:
@@ -26,9 +26,7 @@ type DiskFromURL struct {
|
||||
}
|
||||
|
||||
func NewDiskFromURL(inputPath string, finalPath *define.VMFile, tempDir *define.VMFile, optionalTempFileName *string, cache bool) (*DiskFromURL, error) {
|
||||
var (
|
||||
err error
|
||||
)
|
||||
var err error
|
||||
u, err := url2.Parse(inputPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user