aboutsummaryrefslogtreecommitdiff
path: root/src/endpoint.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-21 16:57:07 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-21 16:57:07 +0100
commit96d1f1496643f47fac765a1852e7e648649d08b3 (patch)
tree5a2913f74ff788aa60af27f251dcffd77e9d3bb8 /src/endpoint.rs
parent8858c9428936534ef2b62d73283cd800f4b838d6 (diff)
downloadnetapp-96d1f1496643f47fac765a1852e7e648649d08b3.tar.gz
netapp-96d1f1496643f47fac765a1852e7e648649d08b3.zip
Avoid logging full node IDs
Diffstat (limited to 'src/endpoint.rs')
-rw-r--r--src/endpoint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endpoint.rs b/src/endpoint.rs
index bb5399c..42e9a98 100644
--- a/src/endpoint.rs
+++ b/src/endpoint.rs
@@ -114,7 +114,7 @@ where
match conn {
None => Err(Error::Message(format!(
"Not connected: {}",
- hex::encode(target)
+ hex::encode(&target[..8])
))),
Some(c) => c.call(req, self.path.as_str(), prio).await,
}