mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 06:51:43 +01:00
fix masters not excluing themselves when looking for other running machines
This commit is contained in:
parent
b56fcbb519
commit
913697905f
@ -138,7 +138,7 @@ impl State<Listener> {
|
||||
.read()
|
||||
.await
|
||||
.iter()
|
||||
.filter(|(_, booking)| booking.is_running())
|
||||
.filter(|(other, booking)| *other != master && booking.is_running())
|
||||
.flat_map(|(machine, _)| &SLAVES_BY_MASTER[machine]) //todo: error handing
|
||||
.cloned()
|
||||
.collect();
|
||||
|
Loading…
x
Reference in New Issue
Block a user