Skip to content

Commit

Permalink
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_AS…
Browse files Browse the repository at this point in the history
…SERT
  • Loading branch information
tanvi-jagtap committed Apr 28, 2024
1 parent cad94a5 commit 80da867
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/core/lib/transport/call_filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -1459,8 +1459,8 @@ class CallFilters {
gpr_log(GPR_INFO, "Push[%p|%p]: take value; %s", &state(), this,
state().DebugString().c_str());
}
CHECK_NE(value_, nullptr);
CHECK_NE(filters_, nullptr);
CHECK(value_ != nullptr);
CHECK(filters_ != nullptr);
push_slot() = nullptr;
filters_ = nullptr;
return std::move(value_);
Expand Down Expand Up @@ -1566,7 +1566,7 @@ class CallFilters {
PullMessage& operator=(PullMessage&&) = delete;

Poll<ValueOrFailure<absl::optional<MessageHandle>>> operator()() {
CHECK_NE(filters_, nullptr);
CHECK(filters_ != nullptr);
if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_promise_primitives)) {
gpr_log(GPR_INFO, "PullMessage[%p|%p]: %s executor:%d", &state(),
this, state().DebugString().c_str(), executor_.IsRunning());
Expand Down Expand Up @@ -1594,7 +1594,7 @@ class CallFilters {
return Failure{};
}
if (!**r) return absl::nullopt;
CHECK_NE(filters_, nullptr);
CHECK(filters_ != nullptr);
return FinishOperationExecutor(executor_.Start(
layout(), push()->TakeValue(), filters_->call_data_));
}
Expand Down

0 comments on commit 80da867

Please sign in to comment.