dimas-b commented on code in PR #3412:
URL: https://github.com/apache/polaris/pull/3412#discussion_r2690657078


##########
runtime/admin/src/main/java/org/apache/polaris/admintool/config/AdminToolProducers.java:
##########
@@ -75,4 +77,10 @@ public PolarisConfigurationStore configurationStore() {
     // A configuration store is not required when running the admin tool.
     return new PolarisConfigurationStore() {};
   }
+
+  @Produces
+  public RealmConfig dummyRealmConfig(PolarisConfigurationStore 
configurationStore) {
+    // Use "unknown" realm ID for RealmConfig since the 
PolarisConfigurationStore is empty anyway
+    return new RealmConfigImpl(configurationStore, () -> "unknown");

Review Comment:
   Well, the underlying config is empty, so the name cannot match anything.
   
   I'll change it to random to be sure.



-- 
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