diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-08-14 09:48:08 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-08-14 07:58:40 +0000 |
| commit | 890d2ddabb153c085c897b21420edc30010c14bf (patch) | |
| tree | 1e64bc9ff0c3b5124cf3c5a34997b2a2602152ae /pkg/instance | |
| parent | 07a4d4adf03055fcc6a37148e43d3c931eb168d6 (diff) | |
pkg/instance: adjust FuzzingVMs in OverrideVMCount()
We should not be setting FuzzingVMs to a value below the overall VM
count.
Diffstat (limited to 'pkg/instance')
| -rw-r--r-- | pkg/instance/instance.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index ff7bb9f0d..c5e53aa6d 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -212,6 +212,7 @@ func OverrideVMCount(cfg *mgrconfig.Config, n int) error { return fmt.Errorf("failed to serialize VM config: %w", err) } cfg.VM = vmCfg + cfg.FuzzingVMs = min(cfg.FuzzingVMs, n) return nil } |
