Skip to content
This repository was archived by the owner on Dec 17, 2022. It is now read-only.

Commit 7712a2b

Browse files
committed
fix(drv): disable debug logging from within WaitUntil future
1 parent 633469d commit 7712a2b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

brane-drv/src/executor.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,10 @@ impl Future for WaitUntil {
288288
) -> Poll<Self::Output> {
289289
let state = self.states.get(&self.correlation_id);
290290
if let Some(state) = state {
291-
if *state.value() >= self.at_least {
291+
let state = state.value();
292+
293+
if state >= &self.at_least {
292294
return Poll::Ready(());
293-
} else {
294-
debug!("{:?}", state.value());
295295
}
296296
}
297297

0 commit comments

Comments
 (0)