Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go client #1026

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion datadog/resource_datadog_service_level_objective.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ func buildServiceLevelObjectiveStructs(d *schema.ResourceData) (*datadogV1.Servi
slor := datadogV1.NewServiceLevelObjectiveRequestWithDefaults()
slor.SetName(d.Get("name").(string))
slor.SetType(datadogV1.SLOType(d.Get("type").(string)))
slor.SetId(d.Id())

if attr, ok := d.GetOk("description"); ok {
slo.SetDescription(attr.(string))
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021-02-10T14:45:47.728288+01:00
2021-04-15T11:38:12.27234-04:00

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-12-31T15:44:37.632586+01:00
2021-04-15T11:38:12.272342-04:00
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,11 @@ interactions:
Dd-Operation-Id:
- GetMonitor
User-Agent:
- terraform-provider-datadog/dev (terraform 1.15.0; terraform-cli 0.12.7-sdk)
datadog-api-client-go/1.0.0-beta.13+dev (go go1.15.4; os darwin; arch amd64)
X-Datadog-Parent-Id:
- "8087173541833959355"
X-Datadog-Sampling-Priority:
- "1"
X-Datadog-Trace-Id:
- "6782738516688967426"
- terraform-provider-datadog/dev (terraform 1.16.0; terraform-cli 0.12.7-sdk) datadog-api-client-go/1.0.0-beta.19 (go go1.15.3; os darwin; arch amd64)
url: https://api.datadoghq.com/api/v1/monitor/2
method: GET
response:
body: '{"errors":["Monitor not found"]}'
body: '{"errors": ["Monitor not found"]}'
headers:
Cache-Control:
- no-cache
Expand All @@ -32,7 +25,7 @@ interactions:
Content-Type:
- application/json
Date:
- Thu, 31 Dec 2020 14:53:58 GMT
- Thu, 15 Apr 2021 15:38:12 GMT
Pragma:
- no-cache
Strict-Transport-Security:
Expand All @@ -42,7 +35,7 @@ interactions:
X-Content-Type-Options:
- nosniff
X-Dd-Version:
- "35.3622023"
- "35.4319957"
X-Frame-Options:
- SAMEORIGIN
X-Ratelimit-Limit:
Expand All @@ -52,7 +45,7 @@ interactions:
X-Ratelimit-Remaining:
- "2999"
X-Ratelimit-Reset:
- "2"
- "8"
status: 404 Not Found
code: 404
duration: ""
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021-02-12T14:53:06.186313+01:00
2021-04-15T11:38:24.036199-04:00
201 changes: 67 additions & 134 deletions datadog/tests/cassettes/TestAccDatadogSloCorrection_Basic.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2021-02-12T14:53:06.18795+01:00
2021-04-15T11:38:24.036186-04:00
317 changes: 104 additions & 213 deletions datadog/tests/cassettes/TestAccDatadogSloCorrection_Updated.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/terraform-providers/terraform-provider-datadog

require (
github.com/DataDog/datadog-api-client-go v1.0.0-beta.18.0.20210402093430-1a712514a31a
github.com/DataDog/datadog-api-client-go v1.0.0-beta.19
github.com/DataDog/datadog-go v3.6.0+incompatible // indirect
github.com/cenkalti/backoff v2.1.1+incompatible // indirect
github.com/dnaeon/go-vcr v1.0.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/DataDog/datadog-api-client-go v1.0.0-beta.18.0.20210402093430-1a712514a31a h1:BFmHMW0ZdKJUxqJGedP15C9rkRG1BLn57wjziIZE6Bo=
github.com/DataDog/datadog-api-client-go v1.0.0-beta.18.0.20210402093430-1a712514a31a/go.mod h1:fwStCDdoKHrY5t7VC2Hw299lCFa0Sk1QqMeJIXmL7X4=
github.com/DataDog/datadog-api-client-go v1.0.0-beta.19 h1:52bfztfrmgfh/cxd8hiOK20jwEVLuW6u+rddRJCjy6Q=
github.com/DataDog/datadog-api-client-go v1.0.0-beta.19/go.mod h1:U9QIYrzfpRCgFkRMrOxX0XRajF6PFRUzcQ1fEvxmiH0=
github.com/DataDog/datadog-go v3.6.0+incompatible h1:ILg7c5Y1KvZFDOaVS0higGmJ5Fal5O1KQrkrT9j6dSM=
github.com/DataDog/datadog-go v3.6.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/DataDog/dd-trace-go v1.29.0-alpha.1.0.20210128154316-c84d7933b726 h1:E6y5wxU93et78p5JhD1tl/QDdFofxiSadMJ2p0AqO4Y=
Expand Down