From 51ab596d44c5d55828b372a820840a1040676e48 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Tue, 18 Oct 2022 22:39:55 -0700 Subject: [PATCH] remove unnecessary conversion (#31342) --- src/core/lib/iomgr/error.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/lib/iomgr/error.cc b/src/core/lib/iomgr/error.cc index 527ff503dc2..19ae8e9b2b8 100644 --- a/src/core/lib/iomgr/error.cc +++ b/src/core/lib/iomgr/error.cc @@ -173,9 +173,6 @@ bool grpc_error_get_str(grpc_error_handle error, case absl::StatusCode::kOk: *s = ""; return true; - case absl::StatusCode::kResourceExhausted: - *s = "RESOURCE_EXHAUSTED"; - return true; case absl::StatusCode::kCancelled: *s = "CANCELLED"; return true;