From 790cc189ae51a4af370f9d83141cb58cdbaca6a7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 23 Jul 2024 14:21:59 +0200 Subject: vm: check preemption string only for gce instances Fixes #5028 --- vm/gce/gce.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vm/gce') diff --git a/vm/gce/gce.go b/vm/gce/gce.go index e65ee836b..19fd1eecd 100644 --- a/vm/gce/gce.go +++ b/vm/gce/gce.go @@ -36,8 +36,9 @@ import ( func init() { vmimpl.Register("gce", vmimpl.Type{ - Ctor: ctor, - Overcommit: true, + Ctor: ctor, + Overcommit: true, + Preemptible: true, }) } -- cgit mrf-deployment