Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- links to