Skip to content

Commit fe17872

Browse files
committed
feat: remove span in get piece (#1171)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 976fe3a commit fe17872

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ members = [
1212
]
1313

1414
[workspace.package]
15-
version = "0.2.31"
15+
version = "0.2.32"
1616
authors = ["The Dragonfly Developers"]
1717
homepage = "https://d7y.io/"
1818
repository = "https://github.com/dragonflyoss/client.git"
@@ -22,13 +22,13 @@ readme = "README.md"
2222
edition = "2021"
2323

2424
[workspace.dependencies]
25-
dragonfly-client = { path = "dragonfly-client", version = "0.2.31" }
26-
dragonfly-client-core = { path = "dragonfly-client-core", version = "0.2.31" }
27-
dragonfly-client-config = { path = "dragonfly-client-config", version = "0.2.31" }
28-
dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.2.31" }
29-
dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.2.31" }
30-
dragonfly-client-util = { path = "dragonfly-client-util", version = "0.2.31" }
31-
dragonfly-client-init = { path = "dragonfly-client-init", version = "0.2.31" }
25+
dragonfly-client = { path = "dragonfly-client", version = "0.2.32" }
26+
dragonfly-client-core = { path = "dragonfly-client-core", version = "0.2.32" }
27+
dragonfly-client-config = { path = "dragonfly-client-config", version = "0.2.32" }
28+
dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.2.32" }
29+
dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.2.32" }
30+
dragonfly-client-util = { path = "dragonfly-client-util", version = "0.2.32" }
31+
dragonfly-client-init = { path = "dragonfly-client-init", version = "0.2.32" }
3232
dragonfly-api = "=2.1.39"
3333
thiserror = "2.0"
3434
futures = "0.3.31"

ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/rust:1.82.0 AS builder
1+
FROM public.ecr.aws/docker/library/rust:1.85.0 AS builder
22

33
WORKDIR /app/client
44

ci/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/rust:1.82.0 AS builder
1+
FROM public.ecr.aws/docker/library/rust:1.85.0 AS builder
22

33
WORKDIR /app/client
44

ci/Dockerfile.dfinit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/rust:1.82.0 AS builder
1+
FROM public.ecr.aws/docker/library/rust:1.85.0 AS builder
22

33
RUN apt-get update && apt-get install -y \
44
openssl libclang-dev pkg-config protobuf-compiler \

dragonfly-client/src/resource/piece.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ impl Piece {
140140
}
141141

142142
/// get gets a piece from the local storage.
143-
#[instrument(skip_all)]
144143
pub fn get(&self, piece_id: &str) -> Result<Option<metadata::Piece>> {
145144
self.storage.get_piece(piece_id)
146145
}

0 commit comments

Comments
 (0)