From baee6053cde7498c06115cef9385a2ae01c61c00 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 8 Nov 2024 14:15:28 +0000 Subject: [PATCH] pre-commit fixes --- examples/v2/security-monitoring/GetHistoricalJob.go | 2 +- examples/v2/security-monitoring/ListHistoricalJobs.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/v2/security-monitoring/GetHistoricalJob.go b/examples/v2/security-monitoring/GetHistoricalJob.go index 8f161e2a0b3..f04254617a6 100644 --- a/examples/v2/security-monitoring/GetHistoricalJob.go +++ b/examples/v2/security-monitoring/GetHistoricalJob.go @@ -18,8 +18,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) configuration.SetUnstableOperationEnabled("v2.GetHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) resp, r, err := api.GetHistoricalJob(ctx, HistoricalJobDataID) diff --git a/examples/v2/security-monitoring/ListHistoricalJobs.go b/examples/v2/security-monitoring/ListHistoricalJobs.go index a0406a22ada..c7732ad0231 100644 --- a/examples/v2/security-monitoring/ListHistoricalJobs.go +++ b/examples/v2/security-monitoring/ListHistoricalJobs.go @@ -17,8 +17,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.ListHistoricalJobs", true) configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.ListHistoricalJobs", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) resp, r, err := api.ListHistoricalJobs(ctx, *datadogV2.NewListHistoricalJobsOptionalParameters().WithFilterQuery("id:string"))