mirror of https://github.com/hashicorp/terraform
provider/pagerduty Add delete support to pagerduty_service_integration (#10891)
* Vendor update * Add delete support * Update documentationpull/10915/merge
parent
82288c6064
commit
bac59eb531
@ -0,0 +1,11 @@
|
||||
package pagerduty
|
||||
|
||||
import "strings"
|
||||
|
||||
func isNotFound(err error) bool {
|
||||
if strings.Contains(err.Error(), "Failed call API endpoint. HTTP response code: 404") {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
Loading…
Reference in new issue