Merge pull request #21735 from jakecorrenti/inspect-conn-vals

machine: Add `ConnectionInfo` to inspect
This commit is contained in:
openshift-merge-bot[bot]
2024-02-22 02:36:50 +00:00
committed by GitHub
6 changed files with 50 additions and 15 deletions

View File

@ -282,7 +282,7 @@ var _ = Describe("podman machine init", func() {
Expect(session).To(Exit(0))
inspect := new(inspectMachine)
inspect = inspect.withFormat("{{.ConfigPath.Path}}")
inspect = inspect.withFormat("{{.ConfigDir.Path}}")
inspectSession, err := mb.setCmd(inspect).run()
Expect(err).ToNot(HaveOccurred())
cfgpth := filepath.Join(inspectSession.outputToString(), fmt.Sprintf("%s.json", name))