diff --git a/tools/run_tests/sanity/core_banned_functions.py b/tools/run_tests/sanity/core_banned_functions.py index 5340cc87ce1..7804dd0fe52 100755 --- a/tools/run_tests/sanity/core_banned_functions.py +++ b/tools/run_tests/sanity/core_banned_functions.py @@ -55,6 +55,7 @@ BANNED_EXCEPT = { "grpc_call_cancel(": ["src/core/lib/surface/call.cc"], "grpc_channel_destroy(": [ "src/core/lib/surface/channel.cc", + "src/core/lib/surface/legacy_channel.cc", "src/core/tsi/alts/handshaker/alts_shared_resource.cc", ], "grpc_closure_create(": [