This is an automated email from the ASF dual-hosted git repository.

singhpk234 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new bc32e925d Use Iterable for realms in BootstrapCommand (#2956)
bc32e925d is described below

commit bc32e925df09860efaf722796c721ad750859b5c
Author: Yong Zheng <[email protected]>
AuthorDate: Sat Nov 1 02:21:07 2025 -0500

    Use Iterable for realms in BootstrapCommand (#2956)
---
 .../src/main/java/org/apache/polaris/admintool/BootstrapCommand.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
 
b/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
index 0bdf291b6..bfa59fab8 100644
--- 
a/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
+++ 
b/runtime/admin/src/main/java/org/apache/polaris/admintool/BootstrapCommand.java
@@ -100,13 +100,13 @@ public class BootstrapCommand extends BaseCommand {
   public Integer call() {
     try {
       RootCredentialsSet rootCredentialsSet;
-      List<String> realms; // TODO Iterable
+      Iterable<String> realms;
 
       if (inputOptions.rootCredentialsOptions.fileOptions != null) {
         rootCredentialsSet =
             RootCredentialsSet.fromUri(
                 inputOptions.rootCredentialsOptions.fileOptions.file.toUri());
-        realms = rootCredentialsSet.credentials().keySet().stream().toList();
+        realms = rootCredentialsSet.credentials().keySet();
       } else {
         realms = inputOptions.rootCredentialsOptions.stdinOptions.realms;
         rootCredentialsSet =

Reply via email to