steinsgateted commented on code in PR #864:
URL: https://github.com/apache/yunikorn-core/pull/864#discussion_r1586416688


##########
pkg/webservice/handlers.go:
##########
@@ -117,10 +117,10 @@ func validateQueue(queuePath string) error {
        if queuePath != "" {
                queueNameArr := strings.Split(queuePath, ".")
                for _, name := range queueNameArr {
-                       if !configs.QueueNameRegExp.MatchString(name) {
+                       if !configs.QueueNameRegExp.MatchString(name) && name 
!= common.RecoveryQueue {
                                return fmt.Errorf("problem in queue query 
parameter parsing as queue param "+
                                        "%s contains invalid queue name %s. 
Queue name must only have "+
-                                       "alphanumeric characters, - or _, and 
be no longer than 64 characters", queuePath, name)
+                                       "alphanumeric characters, - or _, and 
be no longer than 64 characters except recovery queue", queuePath, name)

Review Comment:
   Done.



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to