waukin commented on issue #5957: URL: https://github.com/apache/gravitino/issues/5957#issuecomment-2562758155
> You can leave the existing method as `output(catalogs)` and just have that method output "No catalogs exist." if null is passed into it. I’ve kept the existing method as `output(catalogs)`. For the `ListCatalogs` command, if there are no catalogs, `client.listCatalogsInfo()` returns an empty array, not null. I’ve made some refactoring changes in this PR: https://github.com/apache/gravitino/pull/6015. If you have some free time, please take a look. -- 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]
