move startup_read from swarm-queue-client to swarm-secret-client
read_with_startup_retry retries the first read of a client secret through a store that is restarting. Nothing in swarm-queue-client calls it; its only callers are the four binaries that read the secret (swarm-builder, swarm-claude-login, swarm-controller, swarm-review-classifier), and they already depend on swarm-secret-client. It sits beside stored_secret, which moved there in #5538. swarm-queue-client drops its backon dependency and the tokio test-util dev-dependency that only these tests used.
This commit is contained in:
parent
dd7fc1c9af
commit
741fe388f9
10 changed files with 9 additions and 12 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -5027,7 +5027,6 @@ version = "0.1.0"
|
|||
dependencies = [
|
||||
"async-nats",
|
||||
"axum",
|
||||
"backon",
|
||||
"data-encoding",
|
||||
"hive-sh4re",
|
||||
"reqwest",
|
||||
|
|
@ -5067,6 +5066,7 @@ dependencies = [
|
|||
name = "swarm-secret-client"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"backon",
|
||||
"futures-util",
|
||||
"reqwest",
|
||||
"rustify",
|
||||
|
|
|
|||
Loading…
Reference in a new issue