valepakh commented on code in PR #7421:
URL: https://github.com/apache/ignite-3/pull/7421#discussion_r2716105231


##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/decorators/HoconDecorator.java:
##########
@@ -71,7 +71,8 @@ static String prettyPrint(String jsonString) {
         } catch (ConfigException.WrongType e) {
             // This happens when input is a top-level list. Use fake root 
object to parse the input and print the value of that object.
             Config config = ConfigFactory.parseString(FAKE_ROOT + "=" + 
jsonString);
-            return 
config.getValue(FAKE_ROOT).render(ConfigRenderOptions.concise().setFormatted(true).setJson(false));
+            // Set json to true to workaround the issue when rendering list at 
root

Review Comment:
   I created https://issues.apache.org/jira/browse/IGNITE-27644, let's not 
bother adding TODO



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