Open skippy29 opened 2 years ago
on last_operation:
try: result = service_broker.last_operation(instance_id, operation_data) return to_json_response(LastOperationResponse(result.state, result.description)), HTTPStatus.OK except errors.ErrInstanceDoesNotExist: return to_json_response(LastOperationResponse(OperationState.SUCCEEDED, '')), HTTPStatus.GONE
My understanding from spec is that 410 (Gone) should be sent only for asynchronous delete operations.
This would mean that there's currently no way to differentiate a "does not exist anymore" and a "has never existed" ?
on last_operation:
My understanding from spec is that 410 (Gone) should be sent only for asynchronous delete operations.
This would mean that there's currently no way to differentiate a "does not exist anymore" and a "has never existed" ?