Skip to content

Commit

Permalink
Merge pull request #815 from newrelic/chore/upgrade-newrelic-client-go
Browse files Browse the repository at this point in the history
chore(deps): upgrade newrelic-client-go
  • Loading branch information
ctrombley authored Jul 30, 2020
2 parents 7260a7b + fe8fe1c commit 37c3ccd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/newrelic-forks/git-chglog v0.10.0
github.com/newrelic/go-agent/v3 v3.8.1
github.com/newrelic/go-insights v1.0.3
github.com/newrelic/newrelic-client-go v0.33.2
github.com/newrelic/newrelic-client-go v0.34.0
github.com/stretchr/testify v1.6.1
golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1 // indirect
gotest.tools/gotestsum v0.5.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ github.com/newrelic/go-agent/v3 v3.8.1 h1:PzM7tOO7ojBxHxEXY/AQJ8bAKrM9vFeFbHPkTa
github.com/newrelic/go-agent/v3 v3.8.1/go.mod h1:1A1dssWBwzB7UemzRU6ZVaGDsI+cEn5/bNxI0wiYlIc=
github.com/newrelic/go-insights v1.0.3 h1:zSNp1CEZnXktzSIEsbHJk8v6ZihdPFP2WsO/fzau3OQ=
github.com/newrelic/go-insights v1.0.3/go.mod h1:A20BoT8TNkqPGX2nS/Z2fYmKl3Cqa3iKZd4whzedCY4=
github.com/newrelic/newrelic-client-go v0.33.2 h1:mgaSCpEK2LdQe1tMWTc3Ix0MMp4/NGE3yaSIO9BXWE8=
github.com/newrelic/newrelic-client-go v0.33.2/go.mod h1:4L14W2RcdIAY308+r5q02g8b04DiwI2VUCqdw0wt6OA=
github.com/newrelic/newrelic-client-go v0.34.0 h1:/eoS35lXZMTSwHVYG1WRqz+cO+FJf90ADOzWhoj0+00=
github.com/newrelic/newrelic-client-go v0.34.0/go.mod h1:4L14W2RcdIAY308+r5q02g8b04DiwI2VUCqdw0wt6OA=
github.com/newrelic/tutone v0.1.1/go.mod h1:KPqQz2x0HZcgW9aHych9M4E4kaLOotG0gISMpTWKHFc=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
Expand Down
3 changes: 1 addition & 2 deletions newrelic/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/helper/logging"
"github.com/hashicorp/terraform-plugin-sdk/helper/pathorcontents"
"github.com/newrelic/newrelic-client-go/pkg/region"

insights "github.com/newrelic/go-insights/client"
nr "github.com/newrelic/newrelic-client-go/newrelic"
Expand Down Expand Up @@ -47,7 +46,7 @@ func (c *Config) Client() (*nr.NewRelic, error) {
nr.ConfigPersonalAPIKey(c.PersonalAPIKey),
nr.ConfigUserAgent(c.userAgent),
nr.ConfigServiceName(serviceName),
nr.ConfigRegion(region.Name(c.Region)),
nr.ConfigRegion(c.Region),
)

tlsCfg := &tls.Config{}
Expand Down

0 comments on commit 37c3ccd

Please sign in to comment.