aboutsummaryrefslogtreecommitdiff
path: root/pkg/machine/wsl
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-04-26 16:04:57 -0500
committerBrent Baude <bbaude@redhat.com>2022-04-28 13:32:21 -0500
commit2902d32c4989a6c391d713fab7eb567eaac9d4cb (patch)
tree22d3006d7ea6af3b4a5e97e7ff1ab61cf9a8076b /pkg/machine/wsl
parentf722879d3b9ad038f2bf84017c8343f19806a11e (diff)
downloadpodman-2902d32c4989a6c391d713fab7eb567eaac9d4cb.tar.gz
podman-2902d32c4989a6c391d713fab7eb567eaac9d4cb.tar.bz2
podman-2902d32c4989a6c391d713fab7eb567eaac9d4cb.zip
Refactor machine inspect
I was asked to refactor machine inspect output to represent more common and basic information. machine inspect now has information that would be appropriate for different machines. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine/wsl')
-rw-r--r--pkg/machine/wsl/machine.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go
index 1f1f2dcaf..addcb7c8a 100644
--- a/pkg/machine/wsl/machine.go
+++ b/pkg/machine/wsl/machine.go
@@ -155,7 +155,7 @@ type Provider struct{}
type MachineVM struct {
// IdentityPath is the fq path to the ssh priv key
IdentityPath string
- // IgnitionFilePath is the fq path to the .ign file
+ // ImageStream is the version of fcos being used
ImageStream string
// ImagePath is the fq path to
ImagePath string
@@ -1387,3 +1387,7 @@ func (v *MachineVM) setRootful(rootful bool) error {
}
return nil
}
+
+func (v *MachineVM) Inspect() (*machine.InspectInfo, error) {
+ return nil, define.ErrNotImplemented
+}