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"))