1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-01-23 15:16:38 +08:00
parent e1f72758df
commit 0fccf31d00

View File

@ -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])
}
})