Skip to content

Commit

Permalink
fix: correct this conditional (#48)
Browse files Browse the repository at this point in the history
* fix: correct this conditional

* chore: remove print statement
  • Loading branch information
Wolftousen authored Oct 2, 2024
1 parent 8420c1c commit d485941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/loki.rs
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ fn sort_deploy_data(data: QueryResponse) -> HashMap<String, Vec<DeployEntry>> {
for r in data.data.result {
let env = r.stream.deployment_environment_name.unwrap().to_lowercase();

if !prod_env_names.contains(&env) || env.starts_with("prod-") {
if !prod_env_names.contains(&env) && !env.starts_with("prod-") {
continue;
}

Expand Down

0 comments on commit d485941

Please sign in to comment.