forked from Deuxfleurs/garage
small simplify
This commit is contained in:
parent
8c33d565d6
commit
6b2b400292
1 changed files with 1 additions and 3 deletions
|
@ -522,7 +522,6 @@ impl System {
|
||||||
.broadcast(Message::AdvertiseConfig(adv.clone()), PING_TIMEOUT)
|
.broadcast(Message::AdvertiseConfig(adv.clone()), PING_TIMEOUT)
|
||||||
.map(Ok),
|
.map(Ok),
|
||||||
);
|
);
|
||||||
|
|
||||||
self.background.spawn(self.clone().save_network_config());
|
self.background.spawn(self.clone().save_network_config());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -660,10 +659,9 @@ impl System {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let status = Arc::new(status);
|
|
||||||
updaters
|
updaters
|
||||||
.update_status
|
.update_status
|
||||||
.send(status.clone())
|
.send(Arc::new(status))
|
||||||
.expect("Could not update internal membership status");
|
.expect("Could not update internal membership status");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue