0lai0 commented on code in PR #918:
URL: https://github.com/apache/yunikorn-core/pull/918#discussion_r1689037680


##########
pkg/scheduler/partition.go:
##########
@@ -324,12 +324,12 @@ func (pc *PartitionContext) AddApplication(app 
*objects.Application) error {
                if isRecoveryQueue {
                        queue, err = pc.createRecoveryQueue()
                        if err != nil {
-                               return fmt.Errorf("failed to create recovery 
queue %s for application %s", common.RecoveryQueueFull, appID)
+                               return fmt.Errorf(strings.Join([]string{"failed 
to create recovery queue", queueName, "for application", appID, ":", 
err.Error()}, " "))

Review Comment:
   Thank you for your feedback. Let me take a moment to reconsider the meaning 
of the message.



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