From 0e924edf0e110b2ffff1008f24479e0edfea656a Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 24 Jun 2020 14:02:20 +0300 Subject: [PATCH] use the role map, luke! --- lotus-soup/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lotus-soup/main.go b/lotus-soup/main.go index b8cedf2b5..e0906be1e 100644 --- a/lotus-soup/main.go +++ b/lotus-soup/main.go @@ -18,7 +18,7 @@ func main() { func doRun(roles map[string]func(*TestEnvironment) error) run.InitializedTestCaseFn { return func(runenv *runtime.RunEnv, initCtx *run.InitContext) error { role := runenv.StringParam("role") - proc, ok := baselineRoles[role] + proc, ok := roles[role] if ok { return proc(&TestEnvironment{RunEnv: runenv, InitContext: initCtx}) }