aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig/load.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-10-28 19:14:29 +0100
committerAleksandr Nogikh <nogikh@google.com>2024-10-28 18:29:07 +0000
commit66aeb999f37ab41e95f08d1da821200313f71342 (patch)
tree1326b83cc218170fba11fc9e519eb0b098c0af19 /pkg/mgrconfig/load.go
parent5fe1d0f516ac169c2b6e3a268aea92df864ea3a6 (diff)
pkg/mgrconfig: properly convert cover_filter
If we have converted one way of configuration into another, we should reset the old one. Otherwise after the processing in syz-ci both will be set and the instance no longer starts due to "you cannot use both cov_filter and focus_areas".
Diffstat (limited to 'pkg/mgrconfig/load.go')
-rw-r--r--pkg/mgrconfig/load.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/mgrconfig/load.go b/pkg/mgrconfig/load.go
index 4529f8ec0..ccaebba74 100644
--- a/pkg/mgrconfig/load.go
+++ b/pkg/mgrconfig/load.go
@@ -358,6 +358,7 @@ func (cfg *Config) completeFocusAreas() error {
Weight: 1.0,
},
}
+ cfg.CovFilter = CovFilterCfg{}
}
return nil
}