mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 18:22:02 +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{}
|
list := []string{}
|
||||||
m.Spawn().Cmds(DREAM).Table(func(value ice.Maps) {
|
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])
|
list = append(list, value[mdb.NAME])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user