justinmclean commented on code in PR #5759:
URL: https://github.com/apache/gravitino/pull/5759#discussion_r1878828551
##########
clients/cli/src/main/java/org/apache/gravitino/cli/commands/Command.java:
##########
@@ -168,14 +169,14 @@ protected <T extends GravitinoClientBase> Builder<T>
constructClient(Builder<T>
* @param <T> The type of entity.
*/
protected <T> void output(T entity) {
- if (outputFormat == null) {
+ if (listOptions.getOutputFormat() == null) {
Review Comment:
Can listOptions be null?
--
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]