Skip to content

Commit

Permalink
set time.Now in real provider
Browse files Browse the repository at this point in the history
  • Loading branch information
zippolyte committed Nov 20, 2020
1 parent f3bb0be commit a739e29
Show file tree
Hide file tree
Showing 35 changed files with 3,439 additions and 3,437 deletions.
2 changes: 1 addition & 1 deletion datadog/cassettes/TestAccDatadogMonitorDatasource.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.23369+01:00
2020-11-20T13:15:52.235913+01:00
592 changes: 296 additions & 296 deletions datadog/cassettes/TestAccDatadogMonitorDatasource.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.23899+01:00
2020-11-20T13:15:52.241383+01:00
244 changes: 122 additions & 122 deletions datadog/cassettes/TestAccDatadogMonitorServiceCheck_Basic.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datadog/cassettes/TestAccDatadogMonitor_Basic.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.23701+01:00
2020-11-20T13:15:52.238668+01:00
252 changes: 126 additions & 126 deletions datadog/cassettes/TestAccDatadogMonitor_Basic.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.242669+01:00
2020-11-20T13:15:52.243358+01:00
234 changes: 117 additions & 117 deletions datadog/cassettes/TestAccDatadogMonitor_BasicNoTreshold.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.250365+01:00
2020-11-20T13:15:52.253668+01:00
454 changes: 227 additions & 227 deletions datadog/cassettes/TestAccDatadogMonitor_Basic_float_int.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.263781+01:00
2020-11-20T13:15:52.264959+01:00
502 changes: 251 additions & 251 deletions datadog/cassettes/TestAccDatadogMonitor_ComposeWithSyntheticsTest.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datadog/cassettes/TestAccDatadogMonitor_Log.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.252321+01:00
2020-11-20T13:15:52.256748+01:00
252 changes: 126 additions & 126 deletions datadog/cassettes/TestAccDatadogMonitor_Log.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.260369+01:00
2020-11-20T13:15:52.262821+01:00
394 changes: 197 additions & 197 deletions datadog/cassettes/TestAccDatadogMonitor_MuteUnmuteSpecificScopes.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.254053+01:00
2020-11-20T13:15:52.258647+01:00
192 changes: 96 additions & 96 deletions datadog/cassettes/TestAccDatadogMonitor_NoThresholdWindows.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.265647+01:00
2020-11-20T13:15:52.266802+01:00
394 changes: 197 additions & 197 deletions datadog/cassettes/TestAccDatadogMonitor_SilencedRemove.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.267493+01:00
2020-11-20T13:15:52.26867+01:00
308 changes: 154 additions & 154 deletions datadog/cassettes/TestAccDatadogMonitor_SilencedUpdateNoDiff.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.269205+01:00
2020-11-20T13:15:52.270554+01:00
484 changes: 242 additions & 242 deletions datadog/cassettes/TestAccDatadogMonitor_SilencedUpdatePastTimestamp.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.256425+01:00
2020-11-20T13:15:52.260741+01:00
200 changes: 100 additions & 100 deletions datadog/cassettes/TestAccDatadogMonitor_ThresholdWindows.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.24797+01:00
2020-11-20T13:15:52.248993+01:00
230 changes: 115 additions & 115 deletions datadog/cassettes/TestAccDatadogMonitor_TrimWhitespace.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datadog/cassettes/TestAccDatadogMonitor_Updated.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.244543+01:00
2020-11-20T13:15:52.245302+01:00
920 changes: 460 additions & 460 deletions datadog/cassettes/TestAccDatadogMonitor_Updated.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.246309+01:00
2020-11-20T13:15:52.247211+01:00
988 changes: 494 additions & 494 deletions datadog/cassettes/TestAccDatadogMonitor_UpdatedToRemoveTags.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion datadog/cassettes/TestAccDatadogMonitor_ZeroDelay.freeze
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-11-20T13:06:49.270867+01:00
2020-11-20T13:15:52.272237+01:00
200 changes: 100 additions & 100 deletions datadog/cassettes/TestAccDatadogMonitor_ZeroDelay.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions datadog/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
DatadogClientV2: datadogClientV2,
AuthV1: authV1,
AuthV2: authV2,

now: time.Now,
}, nil
}

Expand Down

0 comments on commit a739e29

Please sign in to comment.