Skip to content

Commit 3369d34

Browse files
Flameeyesmeta-codesync[bot]
authored andcommitted
Use the RuntimeTenant API instead of comparing the service id to a string.
Reviewed By: joshkehn Differential Revision: D90247290 fbshipit-source-id: 4d1a5f880710401c18bf4ef0547ae51a7f4c23e1
1 parent 3851346 commit 3369d34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

third-party/thrift/src/thrift/lib/hack/src/contextprop/ThriftContextPropHandlers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function install(
4040
MCPProductID::L4_ADS_MANAGER
4141
) &&
4242
(
43-
Environment::getServiceId() == 'web_ads_manager/hhvm' ||
43+
RuntimeTenant::isAdsManagerTenant() ||
4444
Environment::isAsyncEnvironment()
4545
) &&
4646
JustKnobs::evalString(

0 commit comments

Comments
 (0)