kubernetes-retired / go-open-service-broker-client

A golang client for service brokers implementing the Open Service Broker API
Apache License 2.0
62 stars 51 forks source link

return non-nil error when gets a http.StatusGone #125

Closed maplain closed 5 years ago

maplain commented 6 years ago

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.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.01%) to 92.56% when pulling e9d34acb19a5a542cc074b2ca64dc871b9a09b58 on maplain:return_error_when_410 into 00e5660c0d7f5f3475a988dfc54874e7d4eeacde on pmorie:master.

jboyd01 commented 5 years ago

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.