diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-13 11:05:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 11:05:22 -0400 |
commit | 78b6dcd31c1e9cc1d637ea99344a2ddbed9f0ca1 (patch) | |
tree | b9ea003c9c5091cae3ee1664d4474a4412c61a15 /pkg/machine/wsl/machine.go | |
parent | f6ce14b066ad57a86642f22c15ac42020fc0f660 (diff) | |
parent | 8710197e8592e9726d98d11d017d1c79ab07415b (diff) | |
download | podman-78b6dcd31c1e9cc1d637ea99344a2ddbed9f0ca1.tar.gz podman-78b6dcd31c1e9cc1d637ea99344a2ddbed9f0ca1.tar.bz2 podman-78b6dcd31c1e9cc1d637ea99344a2ddbed9f0ca1.zip |
Merge pull request #13829 from baude/machineinspect
Introduce machine inspect
Diffstat (limited to 'pkg/machine/wsl/machine.go')
-rw-r--r-- | pkg/machine/wsl/machine.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index fdda45ca6..1da042f6a 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -18,6 +18,7 @@ import ( "strings" "time" + "github.com/containers/podman/v4/libpod/define" "github.com/containers/podman/v4/pkg/machine" "github.com/containers/podman/v4/utils" "github.com/containers/storage/pkg/homedir" @@ -1013,6 +1014,12 @@ func (v *MachineVM) Stop(name string, _ machine.StopOptions) error { return nil } +// TODO: We need to rename isRunning to State(); I do not have a +// windows system to test this on. +func (v *MachineVM) State() (machine.Status, error) { + return "", define.ErrNotImplemented +} + func stopWinProxy(v *MachineVM) error { pid, tid, tidFile, err := readWinProxyTid(v) if err != nil { |