fix(offers): the release check reads as clippy 1.94 wants it (#1028)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m14s
CI / Check (pull_request) Successful in 22m34s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-11-19 13:46:53 +01:00
1 parent 79dd08977d
commit 7bd2d784e9
1 file changed
+1 -1
+1 -1
View File
@@ -218,7 +218,7 @@ async fn still_open(
tracing::error!("connection check unavailable: {e}");
StatusCode::SERVICE_UNAVAILABLE
})?;
if !state.is_some_and(|s| s.peer_of(tenant) == Some(offer.supplier_tenant_id.as_str())) {
if state.is_none_or(|s| s.peer_of(tenant) != Some(offer.supplier_tenant_id.as_str())) {
return Ok(false);
}
let Ok(release) = ObjectId::parse_str(&offer.release_id) else {