diff options
author | Brent Baude <bbaude@redhat.com> | 2022-04-26 16:04:57 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-05-03 13:42:54 -0400 |
commit | a9a70a9491ffdaea40c9b521f6d2afe140226b9f (patch) | |
tree | 33e4e291c0c96777be80227c5dbe36a95e7da199 /pkg/machine/wsl | |
parent | 1d21204122178925a400b32e643047aa391082bb (diff) | |
download | podman-a9a70a9491ffdaea40c9b521f6d2afe140226b9f.tar.gz podman-a9a70a9491ffdaea40c9b521f6d2afe140226b9f.tar.bz2 podman-a9a70a9491ffdaea40c9b521f6d2afe140226b9f.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.go | 6 |
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 +} |