Skip to content

Commit

Permalink
Update client to v2.11.0 Release
Browse files Browse the repository at this point in the history
Also switched from gopkg to retrieving package directly from github.com
Updating the client is pre-work prior to addressing DataDog#76
  • Loading branch information
iancward committed Aug 23, 2018
1 parent 382e85d commit bab48cb
Show file tree
Hide file tree
Showing 38 changed files with 202 additions and 20 deletions.
2 changes: 1 addition & 1 deletion datadog/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package datadog
import (
"log"

"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

// Config holds API and APP keys to authenticate to Datadog.
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_downtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/hashicorp/terraform/helper/schema"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func resourceDatadogDowntime() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_downtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func TestAccDatadogDowntime_Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_metric_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

datadog "gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"

"github.com/hashicorp/terraform/helper/schema"
)
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_metric_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
datadog "gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func TestAccDatadogMetricMetadata_Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"

"github.com/hashicorp/terraform/helper/schema"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func resourceDatadogMonitor() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func TestAccDatadogMonitor_Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_timeboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/hashicorp/terraform/helper/schema"
"github.com/kr/pretty"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func resourceDatadogTimeboard() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_timeboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

const config1 = `
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"

"github.com/hashicorp/terraform/helper/schema"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func resourceDatadogUser() *schema.Resource {
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"gopkg.in/zorkian/go-datadog-api.v2"
"github.com/zorkian/go-datadog-api"
)

func TestAccDatadogUser_Updated(t *testing.T) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,14 @@
"revision": "b061729afc07e77a8aa4fad0a2fd840958f1942a",
"revisionTime": "2016-09-27T10:08:44Z"
},
{
"checksumSHA1": "pS5615UBfIMbuO+xZPtxpMOz50Y=",
"path": "github.com/zorkian/go-datadog-api",
"revision": "114bbae3eb718f241d7d8e55c96d75dfedefb8b3",
"revisionTime": "2018-08-05T21:58:11Z",
"version": "=v2.11.0",
"versionExact": "v2.11.0"
},
{
"checksumSHA1": "vE43s37+4CJ2CDU6TlOUOYE0K9c=",
"path": "golang.org/x/crypto/bcrypt",
Expand Down Expand Up @@ -639,12 +647,6 @@
"revision": "1c05540f6879653db88113bc4a2b70aec4bd491f",
"revisionTime": "2017-08-04T00:04:37Z"
},
{
"checksumSHA1": "8fwudhaTgqCvOdurqXyIGigPWTE=",
"path": "gopkg.in/zorkian/go-datadog-api.v2",
"revision": "d74ca17e47a9d3708e6203fd48d3f8cdad055e1c",
"revisionTime": "2018-05-23T15:39:50Z"
},
{
"checksumSHA1": "wICWAGQfZcHD2y0dHesz9R2YSiw=",
"path": "k8s.io/kubernetes/pkg/apimachinery",
Expand Down

0 comments on commit bab48cb

Please sign in to comment.