diff options
author | Alex Auvolat <alex@adnab.me> | 2021-10-19 23:53:49 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-10-19 23:53:49 +0200 |
commit | f1a68f6b577af00f0989a46639345e4447b8f9dc (patch) | |
tree | 39f8c113a5dfe60906a786fe3759ced829b26806 /src/model/block.rs | |
parent | d9c52e9a9c260ee2ec3350a253f6e6e8ae966b26 (diff) | |
download | garage-f1a68f6b577af00f0989a46639345e4447b8f9dc.tar.gz garage-f1a68f6b577af00f0989a46639345e4447b8f9dc.zip |
Fix clippy
Diffstat (limited to 'src/model/block.rs')
-rw-r--r-- | src/model/block.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/block.rs b/src/model/block.rs index a1dcf776..1e04ee58 100644 --- a/src/model/block.rs +++ b/src/model/block.rs @@ -98,7 +98,9 @@ impl BlockManager { .open_tree("block_local_resync_queue") .expect("Unable to open block_local_resync_queue tree"); - let endpoint = system.netapp.endpoint(format!("garage_model/block.rs/Rpc")); + let endpoint = system + .netapp + .endpoint("garage_model/block.rs/Rpc".to_string()); let block_manager = Arc::new(Self { replication, |