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

`getClusterConfig` could return extra data after error response

    XMLWordPrintableJSON

Details

    Description

      just code reading.

      https://github.com/apache/yunikorn-core/blob/master/pkg/webservice/handlers.go#L470

      It needs a "return" after it responses the StatusInternalServerError for failed encoding (json/yaml)

      Attachments

        Issue Links

          Activity

            People

              Cliff Su Cliff Su
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: