You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2023/11/25 09:37:00 UTC
[jira] [Commented] (YUNIKORN-2190) Using empty array to replace null response from /ws/v1/partition/{partitionName}/usage/users
[ https://issues.apache.org/jira/browse/YUNIKORN-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17789638#comment-17789638 ]
Chia-Ping Tsai commented on YUNIKORN-2190:
------------------------------------------
/ws/v1/partition/:partition/usage/groups has same issue.
> Using empty array to replace null response from /ws/v1/partition/{partitionName}/usage/users
> --------------------------------------------------------------------------------------------
>
> Key: YUNIKORN-2190
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2190
> Project: Apache YuniKorn
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Priority: Trivial
>
> the endpoint "/ws/v1/partition/{partitionName}/usage/users" will return null when user usages are nonexistent.
> the return type is expected to be array, so it seems to me the empty array is more suitable to be returned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org