diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-07-23 14:21:59 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-07-23 13:30:23 +0000 |
| commit | 790cc189ae51a4af370f9d83141cb58cdbaca6a7 (patch) | |
| tree | 564db7896df67474c4af5a57a4a2daf1eaaf3f8e /vm/gce/gce.go | |
| parent | 53c2e8ad91fd5f64989a4e6a923926990130b5cd (diff) | |
vm: check preemption string only for gce instances
Fixes #5028
Diffstat (limited to 'vm/gce/gce.go')
| -rw-r--r-- | vm/gce/gce.go | 5 |
1 files changed, 3 insertions, 2 deletions
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, }) } |
