diff options
author | Alex Auvolat <alex@adnab.me> | 2021-04-05 23:21:25 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-27 16:37:09 +0200 |
commit | 6b2b400292a8b3fa2279a02bd48df4f1ac4c0314 (patch) | |
tree | b426dc4898889996c42167d500a46bdfd31f8aeb /src/rpc/membership.rs | |
parent | 8c33d565d66e248bd3cdc2cb5480de563664cd61 (diff) | |
download | garage-6b2b400292a8b3fa2279a02bd48df4f1ac4c0314.tar.gz garage-6b2b400292a8b3fa2279a02bd48df4f1ac4c0314.zip |
small simplify
Diffstat (limited to 'src/rpc/membership.rs')
-rw-r--r-- | src/rpc/membership.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rpc/membership.rs b/src/rpc/membership.rs index bcf98357..9fb24ad4 100644 --- a/src/rpc/membership.rs +++ b/src/rpc/membership.rs @@ -522,7 +522,6 @@ impl System { .broadcast(Message::AdvertiseConfig(adv.clone()), PING_TIMEOUT) .map(Ok), ); - self.background.spawn(self.clone().save_network_config()); } @@ -660,10 +659,9 @@ impl System { } } - let status = Arc::new(status); updaters .update_status - .send(status.clone()) + .send(Arc::new(status)) .expect("Could not update internal membership status"); } } |