public override void SetResponse(JsonOperationContext context, BlittableJsonReaderObject response, bool fromCache) { if (response == null) { ThrowInvalidResponse(); } Result = JsonDeserializationClient.BackupDatabaseNowResult(response); }
public override void SetResponse(JsonOperationContext context, BlittableJsonReaderObject response, bool fromCache) { if (response == null) { ThrowInvalidResponse(); } var result = JsonDeserializationClient.BackupDatabaseNowResult(response); var operationIdResult = JsonDeserializationClient.OperationIdResult(response); // OperationNodeTag used to fetch operation status operationIdResult.OperationNodeTag ??= result.ResponsibleNode; Result = operationIdResult.ForResult(result); }