Skip to content

Commit 3d81df8

Browse files
author
Scott McAllister
committed
updating go-pagerduty library dependency
1 parent 103f3f5 commit 3d81df8

File tree

7 files changed

+98
-21
lines changed

7 files changed

+98
-21
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/terraform-providers/terraform-provider-pagerduty
33
require (
44
github.com/google/go-querystring v1.0.0 // indirect
55
github.com/hashicorp/terraform-plugin-sdk v1.7.0
6-
github.com/heimweh/go-pagerduty v0.0.0-20200429000711-fdd3a48907e7
6+
github.com/heimweh/go-pagerduty v0.0.0-20200528011640-24a6d8472a24
77
)
88

99
go 1.13

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ github.com/heimweh/go-pagerduty v0.0.0-20200415004831-bc2b3224a572 h1:UPbUDXwtlg
194194
github.com/heimweh/go-pagerduty v0.0.0-20200415004831-bc2b3224a572/go.mod h1:6+bccpjQ/PM8uQY9m8avM4MJea+3vo3ta9r8kGQ4XFY=
195195
github.com/heimweh/go-pagerduty v0.0.0-20200429000711-fdd3a48907e7 h1:8groiuI/kigz8jYT46EKNqDYVcEfSDnhv5p+VgZfPGU=
196196
github.com/heimweh/go-pagerduty v0.0.0-20200429000711-fdd3a48907e7/go.mod h1:6+bccpjQ/PM8uQY9m8avM4MJea+3vo3ta9r8kGQ4XFY=
197+
github.com/heimweh/go-pagerduty v0.0.0-20200528011640-24a6d8472a24 h1:ga84s0DaOnrYN7IL7jMug6ins5QpiMuNpXFxCKqFAvg=
198+
github.com/heimweh/go-pagerduty v0.0.0-20200528011640-24a6d8472a24/go.mod h1:6+bccpjQ/PM8uQY9m8avM4MJea+3vo3ta9r8kGQ4XFY=
197199
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
198200
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
199201
github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=

pagerduty/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func Provider() terraform.ResourceProvider {
7575
}
7676

7777
func isErrCode(err error, code int) bool {
78-
if e, ok := err.(*pagerduty.Error); ok && e.ErrorResponse.StatusCode == code {
78+
if e, ok := err.(*pagerduty.Error); ok && e.ErrorResponse.Response.StatusCode == code {
7979
return true
8080
}
8181

vendor/github.com/heimweh/go-pagerduty/pagerduty/error.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/heimweh/go-pagerduty/pagerduty/pagerduty.go

Lines changed: 65 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/heimweh/go-pagerduty/pagerduty/ruleset.go

Lines changed: 27 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ github.com/hashicorp/terraform-svchost/auth
182182
github.com/hashicorp/terraform-svchost/disco
183183
# github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d
184184
github.com/hashicorp/yamux
185-
# github.com/heimweh/go-pagerduty v0.0.0-20200429000711-fdd3a48907e7
185+
# github.com/heimweh/go-pagerduty v0.0.0-20200528011640-24a6d8472a24
186186
github.com/heimweh/go-pagerduty/pagerduty
187187
# github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
188188
github.com/jmespath/go-jmespath

0 commit comments

Comments
 (0)