Skip to content

Commit

Permalink
Update client version
Browse files Browse the repository at this point in the history
Use Preview Profile
SCALRCORE-17105
  • Loading branch information
vmotso committed Nov 23, 2020
1 parent c868a0e commit 2cab22f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/hashicorp/terraform v0.12.0
github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/scalr/go-scalr v0.0.0-20201111140348-ebd319838485
github.com/scalr/go-scalr v0.0.0-20201123155550-dc0d6d650bff
)

go 1.13
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@ github.com/scalr/go-scalr v0.0.0-20201103121620-a2559f72dce3 h1:AphlnwcwesmV9+R0
github.com/scalr/go-scalr v0.0.0-20201103121620-a2559f72dce3/go.mod h1:eEDwNsOdDKg5TJHljpJWfb4LhobfCkUHZo/uX/rPph8=
github.com/scalr/go-scalr v0.0.0-20201111140348-ebd319838485 h1:xAqLzCB2DonU9Mj+fwynXrU3eD71JaV/UJzy7KDQp+o=
github.com/scalr/go-scalr v0.0.0-20201111140348-ebd319838485/go.mod h1:eEDwNsOdDKg5TJHljpJWfb4LhobfCkUHZo/uX/rPph8=
github.com/scalr/go-scalr v0.0.0-20201123154434-010b8a9036d4 h1:qlu6s/tlRykxPmDUe+MFSz6b3uU7MEqn8P2UxnQiJzo=
github.com/scalr/go-scalr v0.0.0-20201123154434-010b8a9036d4/go.mod h1:eEDwNsOdDKg5TJHljpJWfb4LhobfCkUHZo/uX/rPph8=
github.com/scalr/go-scalr v0.0.0-20201123155550-dc0d6d650bff h1:cuJQsle+A87pxMpuAPCZQMZEigMSuMyr+r+xqoBT2zI=
github.com/scalr/go-scalr v0.0.0-20201123155550-dc0d6d650bff/go.mod h1:eEDwNsOdDKg5TJHljpJWfb4LhobfCkUHZo/uX/rPph8=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
Expand Down
2 changes: 0 additions & 2 deletions scalr/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
HTTPClient: httpClient,
Headers: make(http.Header),
}
// // Set internal API profile
// cfg.Headers.Set("Prefer", "profile=internal")

// Create a new Scalr client.
client, err := scalr.NewClient(cfg)
Expand Down

0 comments on commit 2cab22f

Please sign in to comment.