manirajv06 commented on a change in pull request #223:
URL: 
https://github.com/apache/incubator-yunikorn-core/pull/223#discussion_r563832875



##########
File path: pkg/webservice/handlers.go
##########
@@ -521,3 +523,24 @@ func updateConfiguration(conf string) (string, error) {
        }
        return "", fmt.Errorf("config plugin not found")
 }
+
+func getPartitionQueues(w http.ResponseWriter, r *http.Request) {
+       vars := mux.Vars(r)
+       writeHeaders(w)
+       _, partitionExists := vars["partition"]
+       if len(vars) == 0 || !partitionExists {
+               http.Error(w, "Mandatory parameters are missing in URL path. 
Please check the usage documentation", http.StatusBadRequest)

Review comment:
       Taken care.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to