Skip to content

Commit

Permalink
Removing debug print statement
Browse files Browse the repository at this point in the history
(cherry picked from commit 6c68295)
  • Loading branch information
lieberlois authored and swoehrl-mw committed Jan 20, 2023
1 parent 6270ae1 commit 37321df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ pub async fn validate_policy(name: &str, policy: &PolicySpec) -> (bool, Option<S

// Iterate through match items and check whether specified resources exist in the cluster
for match_item in policy.target.matches.iter() {
println!("Now checking {} {}", &match_item.api_group, &match_item.kind);
let api_resource_exists = match find_k8s_resource_matches(&match_item.api_group, &match_item.kind, &client).await {
Ok(resources) => {
!resources.is_empty()
Expand Down

0 comments on commit 37321df

Please sign in to comment.