You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2023/11/07 05:08:00 UTC
[jira] [Resolved] (YUNIKORN-2125) Remove literals from handlers_test.go
[ 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-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org