Merge pull request #8567 from premist/resource-fastly-error-msg
provider/fastly: Change error text on findService
This commit is contained in:
commit
fe8922dc13
|
@ -1519,7 +1519,7 @@ func findService(id string, meta interface{}) (*gofastly.Service, error) {
|
||||||
|
|
||||||
l, err := conn.ListServices(&gofastly.ListServicesInput{})
|
l, err := conn.ListServices(&gofastly.ListServicesInput{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("[WARN] Error listing services when deleting Fastly Service (%s): %s", id, err)
|
return nil, fmt.Errorf("[WARN] Error listing services (%s): %s", id, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, s := range l {
|
for _, s := range l {
|
||||||
|
|
Loading…
Reference in New Issue