From 1ff363e9a86397f438adae4dd4643277f55d1aec Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 12 Nov 2024 10:32:42 +0000 Subject: [PATCH] pre-commit fixes --- examples/v2/security-monitoring/CancelHistoricalJob.go | 2 +- examples/v2/security-monitoring/GetHistoricalJob.go | 2 +- examples/v2/security-monitoring/ListHistoricalJobs.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/v2/security-monitoring/CancelHistoricalJob.go b/examples/v2/security-monitoring/CancelHistoricalJob.go index b1c51df4a8b..7b4f2aab3a7 100644 --- a/examples/v2/security-monitoring/CancelHistoricalJob.go +++ b/examples/v2/security-monitoring/CancelHistoricalJob.go @@ -17,8 +17,8 @@ func main() { ctx := datadog.NewDefaultContext(context.Background()) configuration := datadog.NewConfiguration() - configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) configuration.SetUnstableOperationEnabled("v2.CancelHistoricalJob", true) + configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) r, err := api.CancelHistoricalJob(ctx, HistoricalJobDataID) 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 c7732ad0231..a0406a22ada 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.RunHistoricalJob", true) configuration.SetUnstableOperationEnabled("v2.ListHistoricalJobs", true) + configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true) apiClient := datadog.NewAPIClient(configuration) api := datadogV2.NewSecurityMonitoringApi(apiClient) resp, r, err := api.ListHistoricalJobs(ctx, *datadogV2.NewListHistoricalJobsOptionalParameters().WithFilterQuery("id:string"))