fixing unused return value error (#29358)

reviewable/pr29360/r1
Vignesh Babu 3 years ago committed by GitHub
parent 60c56f7d01
commit 58de9394aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/cpp/server/orca/orca_service.cc

@ -40,7 +40,7 @@ class OrcaService::Reactor : public ServerWriteReactor<ByteBuffer>,
GRPC_CLOSURE_INIT(&on_timer_, OnTimer, this, nullptr);
// Get slice from request.
Slice slice;
request_buffer->DumpToSingleSlice(&slice);
GPR_ASSERT(request_buffer->DumpToSingleSlice(&slice).ok());
// Parse request proto.
upb::Arena arena;
xds_service_orca_v3_OrcaLoadReportRequest* request =

Loading…
Cancel
Save