diff options
Diffstat (limited to 'vm/gvisor/gvisor.go')
| -rw-r--r-- | vm/gvisor/gvisor.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vm/gvisor/gvisor.go b/vm/gvisor/gvisor.go index 4d0a82300..8336ee450 100644 --- a/vm/gvisor/gvisor.go +++ b/vm/gvisor/gvisor.go @@ -71,10 +71,6 @@ func ctor(env *vmimpl.Env) (vmimpl.Pool, error) { return nil, fmt.Errorf("invalid config param memory_total_bytes: %v, want [%d,%d]", minMemory, cfg.MemoryTotalBytes, hostTotalMemory) } - if env.Debug && cfg.Count > 1 { - log.Logf(0, "limiting number of VMs from %v to 1 in debug mode", cfg.Count) - cfg.Count = 1 - } if !osutil.IsExist(env.Image) { return nil, fmt.Errorf("image file %q does not exist", env.Image) } |
