aboutsummaryrefslogtreecommitdiffstats
path: root/syz-ci/manager.go
diff options
context:
space:
mode:
Diffstat (limited to 'syz-ci/manager.go')
-rw-r--r--syz-ci/manager.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/syz-ci/manager.go b/syz-ci/manager.go
index 872825c34..83d174872 100644
--- a/syz-ci/manager.go
+++ b/syz-ci/manager.go
@@ -154,12 +154,15 @@ func createManager(cfg *Config, mgrcfg *ManagerConfig, stop chan struct{},
repo: repo,
mgrcfg: mgrcfg,
managercfg: mgrcfg.managercfg,
- dash: dash,
storage: assetStorage,
debugStorage: !cfg.AssetStorage.IsEmpty() && cfg.AssetStorage.Debug,
stop: stop,
debug: debug,
}
+ // Leave the dashboard interface value as nil if it does not wrap a valid dashboard pointer.
+ if dash != nil {
+ mgr.dash = dash
+ }
os.RemoveAll(mgr.currentDir)
return mgr, nil