In DeprovisionInstance(), when gets back a http.StatusGone from broker,
return a non-nil error which includes this statusCode.
user can use IsGoneError() function defined in errors.go to verify such case.
Coverage increased (+0.01%) to 92.56% when pulling e9d34acb19a5a542cc074b2ca64dc871b9a09b58 on maplain:return_error_when_410 into 00e5660c0d7f5f3475a988dfc54874e7d4eeacde on pmorie:master.
closing for lack of progress, reviewed with some limited discussion, not certain what use cases this fixes. If you care about it and want to discuss, please reopen.
In DeprovisionInstance(), when gets back a http.StatusGone from broker, return a non-nil error which includes this statusCode. user can use IsGoneError() function defined in errors.go to verify such case.