fmt
This commit is contained in:
parent
1d0adbf2c2
commit
ce5849308b
|
@ -51,7 +51,7 @@ func (d *VBox42Driver) IsRunning(name string) (bool, error) {
|
||||||
|
|
||||||
for _, line := range strings.Split(stdout.String(), "\n") {
|
for _, line := range strings.Split(stdout.String(), "\n") {
|
||||||
// Need to trim off CR character when running in windows
|
// Need to trim off CR character when running in windows
|
||||||
line = strings.TrimRight(line, "\r");
|
line = strings.TrimRight(line, "\r")
|
||||||
|
|
||||||
if line == `VMState="running"` {
|
if line == `VMState="running"` {
|
||||||
return true, nil
|
return true, nil
|
||||||
|
|
Loading…
Reference in New Issue