We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd0f98 commit 5b40008Copy full SHA for 5b40008
core-dump-composer/src/main.rs
@@ -305,8 +305,7 @@ fn handle(mut cc: config::CoreConfig) -> Result<(), anyhow::Error> {
305
debug!("Successfully got the process details {}", ps_object);
306
307
if let Some(containers) = ps_object["containers"].as_array() {
308
- for container in containers {
309
- let counter = 0;
+ for (counter, container) in containers.iter().enumerate() {
310
let img_ref = match container["imageRef"].as_str() {
311
Some(v) => v,
312
None => {
0 commit comments