Skip to content

Commit

Permalink
Fixed missing pods/deployments with more than 1 container when using …
Browse files Browse the repository at this point in the history
…operator ls (#2470)
  • Loading branch information
aviramha authored May 29, 2024
1 parent 329f470 commit 65a8022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/+operator-ls-sidecars.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed missing pods/deployments with more than 1 container when using operator ls
2 changes: 1 addition & 1 deletion mirrord/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ async fn print_targets(args: &ListTargetArgs) -> Result<()> {
.filter_map(|target_crd| {
let target = target_crd.spec.target.as_ref()?;
if let Some(container) = target.container_name() {
if !SKIP_NAMES.contains(container.as_str()) {
if SKIP_NAMES.contains(container.as_str()) {
return None;
}
}
Expand Down

0 comments on commit 65a8022

Please sign in to comment.