Skip to content

Commit b31eb2b

Browse files
author
Roy Lin
committed
style(cri): rustfmt the stats running-filter closure
1 parent c973134 commit b31eb2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/cri/src/runtime_service

src/cri/src/runtime_service/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2455,8 +2455,7 @@ impl RuntimeService for BoxRuntimeService {
24552455
let running = containers
24562456
.iter()
24572457
.filter(|c| {
2458-
c.sandbox_id == container.sandbox_id
2459-
&& c.state == ContainerState::Running
2458+
c.sandbox_id == container.sandbox_id && c.state == ContainerState::Running
24602459
})
24612460
.count();
24622461
let usage = self

0 commit comments

Comments
 (0)