mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
fix gofumpt issues on main
Two PRs[1,2] were merged without rebasing resulting in a conflict since the one enabled gofumpt while the other PR contained formatting not according to that so now the lint fails. [1] https://github.com/containers/podman/pull/27498 [2] https://github.com/containers/podman/pull/27493 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -4,9 +4,7 @@ import "os"
|
|||||||
|
|
||||||
const podmanBinary = "../../../bin/darwin/podman"
|
const podmanBinary = "../../../bin/darwin/podman"
|
||||||
|
|
||||||
var (
|
var fakeImagePath string = os.DevNull
|
||||||
fakeImagePath string = os.DevNull
|
|
||||||
)
|
|
||||||
|
|
||||||
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
||||||
i.image = fakeImagePath
|
i.image = fakeImagePath
|
||||||
|
|||||||
@@ -4,9 +4,7 @@ import "os"
|
|||||||
|
|
||||||
const podmanBinary = "../../../bin/podman-remote"
|
const podmanBinary = "../../../bin/podman-remote"
|
||||||
|
|
||||||
var (
|
var fakeImagePath string = os.DevNull
|
||||||
fakeImagePath string = os.DevNull
|
|
||||||
)
|
|
||||||
|
|
||||||
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
||||||
i.image = fakeImagePath
|
i.image = fakeImagePath
|
||||||
|
|||||||
@@ -4,9 +4,7 @@ import "os"
|
|||||||
|
|
||||||
const podmanBinary = "../../../bin/podman-remote"
|
const podmanBinary = "../../../bin/podman-remote"
|
||||||
|
|
||||||
var (
|
var fakeImagePath string = os.DevNull
|
||||||
fakeImagePath string = os.DevNull
|
|
||||||
)
|
|
||||||
|
|
||||||
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
func (i *initMachine) withFakeImage(_ *machineTestBuilder) *initMachine {
|
||||||
i.image = fakeImagePath
|
i.image = fakeImagePath
|
||||||
|
|||||||
Reference in New Issue
Block a user