From 0fccf31d00741e61c1016deb120037c74a6fe00b Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 23 Jan 2024 15:16:38 +0800 Subject: [PATCH] add some --- base/web/dream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/web/dream.go b/base/web/dream.go index ed0099b0..1e0aa34f 100644 --- a/base/web/dream.go +++ b/base/web/dream.go @@ -452,7 +452,7 @@ func DreamEach(m *ice.Message, name string, status string, cb func(string)) *ice } list := []string{} m.Spawn().Cmds(DREAM).Table(func(value ice.Maps) { - if value[mdb.STATUS] == kit.Select(cli.START, status) && reg.MatchString(value[mdb.NAME]) { + if value[mdb.STATUS] == kit.Select(cli.START, status) && reg.MatchString(value[mdb.NAME]) && value[mdb.TYPE] == WORKER { list = append(list, value[mdb.NAME]) } })