XN137 commented on code in PR #1682:
URL: https://github.com/apache/polaris/pull/1682#discussion_r2109219691


##########
polaris-core/src/main/java/org/apache/polaris/core/persistence/LocalPolarisMetaStoreManagerFactory.java:
##########
@@ -113,12 +113,12 @@ public synchronized Map<String, PrincipalSecretsResult> 
bootstrapRealms(
 
     for (String realm : realms) {
       RealmContext realmContext = () -> realm;
-      if (!metaStoreManagerMap.containsKey(realmContext.getRealmIdentifier())) 
{
+      if (!metaStoreManagerMap.containsKey(realm)) {

Review Comment:
   decided to refactor this for clarity as the `realmContext` is built from 
`realm` right above



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to