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 2024/02/09 16:58:00 UTC

[jira] [Created] (YUNIKORN-2404) ws/v1/history/apps and /ws/v1/history/containers should return empty array instead of null

Chia-Ping Tsai created YUNIKORN-2404:
----------------------------------------

             Summary: ws/v1/history/apps and /ws/v1/history/containers should return empty array instead of null
                 Key: YUNIKORN-2404
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2404
             Project: Apache YuniKorn
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai


this issue is similar to YUNIKORN-2190

Both ws/v1/history/apps and /ws/v1/history/containers will return null if the records of history is empty (when the scheduler is starting). We should replace the null by empty array for good restful design.



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