mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
add some
This commit is contained in:
parent
e1f72758df
commit
0fccf31d00
@ -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])
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user