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

Manikandan R resolved YUNIKORN-2125.
------------------------------------
     Fix Version/s: 1.4.0
    Target Version: 1.4.0
        Resolution: Fixed

> Remove literals from handlers_test.go  
> ---------------------------------------
>
>                 Key: YUNIKORN-2125
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2125
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Michael Akinyemi
>            Assignee: Michael Akinyemi
>            Priority: Minor
>              Labels: newbie, pull-request-available
>             Fix For: 1.4.0
>
>
> [https://github.com/apache/yunikorn-core/blob/master/pkg/webservice/handlers_test.go]
> While going through the handler_test i noticed some of the functions use 
> constant variables for the returned error messages (which exist within the 
> webservice package), while others use literal strings. We should replace the 
> literals that have constant values. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to