Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
juli1 committed Nov 13, 2024
1 parent fdea774 commit d6f4541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/src/model/datadog_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,13 +331,13 @@ impl TryFrom<SecretRuleApiMatchValidation> for SecretRuleMatchValidation {
timeout_seconds: value.timeout_seconds,
valid_http_status_code: value
.valid_http_status_code
.unwrap_or(vec![])
.unwrap_or_default()
.iter()
.map(|v| v.into())
.collect(),
invalid_http_status_code: value
.invalid_http_status_code
.unwrap_or(vec![])
.unwrap_or_default()
.iter()
.map(|v| v.into())
.collect(),
Expand Down

0 comments on commit d6f4541

Please sign in to comment.