You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, runtime.NewAPIError("unexpected success response: content available as default response in error", unexpectedSuccess, unexpectedSuccess.Code())
(even though the operation has succeeded, and the deployment has been correctly restored).
It should be pretty easy to update the spec - but also not sure whether maybe the API is instead returning the incorrect status?
The text was updated successfully, but these errors were encountered:
restoreSiteDeploy is documented as returning 201 on creation.
open-api/swagger.yml
Lines 1164 to 1183 in 166c074
However, in practice, it appears that this API instead returns 200 on success. When using the go API, this gives the following error:
open-api/go/plumbing/operations/operations_client.go
Lines 3905 to 3907 in 166c074
(even though the operation has succeeded, and the deployment has been correctly restored).
It should be pretty easy to update the spec - but also not sure whether maybe the API is instead returning the incorrect status?
The text was updated successfully, but these errors were encountered: