Skip to content

Commit c52148e

Browse files
committed
test: fix error in testStartInstance
A brace was misplaced during a fix from a merge conflict, causing unintentional test failures. Signed-off-by: Samuel Karp <[email protected]>
1 parent 0ee20d3 commit c52148e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

machine_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ func testStartInstance(ctx context.Context, t *testing.T, m *Machine) {
280280
t.Errorf(`startInstance: %s
281281
Do you have permission to interact with /dev/vhost-vsock?
282282
Grant yourself permission with `+"`sudo setfacl -m u:${USER}:rw /dev/vhost-vsock`", syncErr.Payload.FaultMessage)
283+
} else {
284+
t.Errorf("startInstance failed: %s", err)
283285
}
284-
} else {
285-
t.Errorf("startInstance failed: %s", err)
286286
}
287287
}
288288

0 commit comments

Comments
 (0)