You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Kinga Marton (Jira)" <ji...@apache.org> on 2020/09/22 14:47:00 UTC

[jira] [Resolved] (YUNIKORN-315) use resources.DAOString in handler instead of trim

     [ https://issues.apache.org/jira/browse/YUNIKORN-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kinga Marton resolved YUNIKORN-315.
-----------------------------------
    Fix Version/s: 0.10
       Resolution: Fixed

> use resources.DAOString in handler instead of trim
> --------------------------------------------------
>
>                 Key: YUNIKORN-315
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-315
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Ankit Kumar
>            Priority: Major
>              Labels: newbie, pull-request-available
>             Fix For: 0.10
>
>
> In the resource object we have a special function to write the resources in a format that is used for the web responses.
> The handler code does not use this call and uses a local trim over a String call.
> For readability and consistency we should move all web service code that returns resources to use the DAOString() call.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org