Add add_error for Substitute (#27414)

reviewable/pr27416/r1
Esun Kim 3 years ago committed by GitHub
parent c80233a4ba
commit 3ba0bddbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/lib/transport/metadata_batch.h

@ -114,7 +114,7 @@ class MetadataMap {
if (GRPC_MDISNULL(new_mdelem.md)) {
Remove(l);
} else if (new_mdelem.md.payload != l->md.payload) {
Substitute(l, new_mdelem.md);
add_error(Substitute(l, new_mdelem.md));
}
l = next;
}

Loading…
Cancel
Save