diff --git a/crates/cli/src/model/datadog_api.rs b/crates/cli/src/model/datadog_api.rs index dd54c536..5501e1c4 100644 --- a/crates/cli/src/model/datadog_api.rs +++ b/crates/cli/src/model/datadog_api.rs @@ -331,13 +331,13 @@ impl TryFrom 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(),