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 12, 2024
1 parent 24dfc5e commit ab39dd0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/v2/security-monitoring/CancelHistoricalJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func main() {

ctx := datadog.NewDefaultContext(context.Background())
configuration := datadog.NewConfiguration()
configuration.SetUnstableOperationEnabled("v2.CancelHistoricalJob", true)
configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true)
configuration.SetUnstableOperationEnabled("v2.CancelHistoricalJob", true)
apiClient := datadog.NewAPIClient(configuration)
api := datadogV2.NewSecurityMonitoringApi(apiClient)
r, err := api.CancelHistoricalJob(ctx, HistoricalJobDataID)
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/security-monitoring/GetHistoricalJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ func main() {

ctx := datadog.NewDefaultContext(context.Background())
configuration := datadog.NewConfiguration()
configuration.SetUnstableOperationEnabled("v2.GetHistoricalJob", true)
configuration.SetUnstableOperationEnabled("v2.RunHistoricalJob", true)
configuration.SetUnstableOperationEnabled("v2.GetHistoricalJob", true)
apiClient := datadog.NewAPIClient(configuration)
api := datadogV2.NewSecurityMonitoringApi(apiClient)
resp, r, err := api.GetHistoricalJob(ctx, HistoricalJobDataID)
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/security-monitoring/ListHistoricalJobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit ab39dd0

Please sign in to comment.