mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-03 20:30:28 -06:00
bac59eb531
* Vendor update * Add delete support * Update documentation
12 lines
194 B
Go
12 lines
194 B
Go
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
|
|
}
|