Skip to content

Commit

Permalink
pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 11, 2024
1 parent 7fd4928 commit ccaf2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/v2_security-monitoring_GetHistoricalJob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ async fn main() {
// there is a valid "historical_job" in the system
let historical_job_data_id = std::env::var("HISTORICAL_JOB_DATA_ID").unwrap();
let mut configuration = datadog::Configuration::new();
configuration.set_unstable_operation_enabled("v2.RunHistoricalJob", true);
configuration.set_unstable_operation_enabled("v2.GetHistoricalJob", true);
configuration.set_unstable_operation_enabled("v2.RunHistoricalJob", true);
let api = SecurityMonitoringAPI::with_config(configuration);
let resp = api.get_historical_job(historical_job_data_id.clone()).await;
if let Ok(value) = resp {
Expand Down

0 comments on commit ccaf2ce

Please sign in to comment.