justinmclean commented on code in PR #6573:
URL: https://github.com/apache/gravitino/pull/6573#discussion_r1976572457


##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/ListSchemaProperties.java:
##########
@@ -55,8 +55,8 @@ public ListSchemaProperties(
   @Override
   public void handle() {
     Schema gSchema = null;
-    try {
-      GravitinoClient client = buildClient(metalake);
+
+    try (GravitinoClient client = buildClient(metalake)) { // Ensure resource 
cleanup

Review Comment:
   Again this may not work.



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