aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-23 10:12:35 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-23 10:12:35 +0200
commit802897bc33a8c1de05fc71453e842acaf2c1f76b (patch)
treea8a44a4ab5dba630055a7c43b4d7757f5307b661 /pkg/instance/instance.go
parent665947c70a517be5c01c3017b935ffc59bed7a6e (diff)
pkg/instance: say that gvisor can create instances out of thin air
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r--pkg/instance/instance.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go
index cec79459a..2849098ac 100644
--- a/pkg/instance/instance.go
+++ b/pkg/instance/instance.go
@@ -31,7 +31,7 @@ type Env struct {
func NewEnv(cfg *mgrconfig.Config) (*Env, error) {
switch cfg.Type {
- case "gce", "qemu":
+ case "gce", "qemu", "gvisor":
default:
return nil, fmt.Errorf("test instances can only work with qemu/gce")
}