Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2125

Remove literals from handlers_test.go

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              makinyemi Michael Akinyemi
              makinyemi Michael Akinyemi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: