aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/e2e/info_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-07-22 12:51:49 +0200
committerGitHub <noreply@github.com>2022-07-22 12:51:49 +0200
commit9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6 (patch)
tree06234d7baf93999a58f052add1ffeacbf454c508 /pkg/machine/e2e/info_test.go
parent1f357892521e6b5f8b9dd877b54b2cf9be96b826 (diff)
parent88b57dd9f1cb56c65e2ccce9979ce7e89c20a855 (diff)
downloadpodman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.gz
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.tar.bz2
podman-9bba3cffc08ba7cdf83af98f0b08510d8f4e0ac6.zip
Merge pull request #15010 from Luap99/machine-e2e
enable linter for pkg/machine/e2e
Diffstat (limited to 'pkg/machine/e2e/info_test.go')
-rw-r--r--pkg/machine/e2e/info_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/machine/e2e/info_test.go b/pkg/machine/e2e/info_test.go
index eeabb78af..fe0cfba32 100644
--- a/pkg/machine/e2e/info_test.go
+++ b/pkg/machine/e2e/info_test.go
@@ -1,7 +1,7 @@
-package e2e
+package e2e_test
import (
- "github.com/containers/podman/v4/cmd/podman/machine"
+ "github.com/containers/podman/v4/pkg/domain/entities"
jsoniter "github.com/json-iterator/go"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@@ -51,7 +51,7 @@ var _ = Describe("podman machine info", func() {
Expect(err).NotTo(HaveOccurred())
Expect(infoSession).Should(Exit(0))
- infoReport := &machine.Info{}
+ infoReport := &entities.MachineInfo{}
err = jsoniter.Unmarshal(infoSession.Bytes(), infoReport)
Expect(err).To(BeNil())
})