0lai0 commented on code in PR #918:
URL: https://github.com/apache/yunikorn-core/pull/918#discussion_r1690021439
##########
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:
I’ve finished modifying the PR, but I’m not sure if I have correctly
expressed it in the Jira comment section. Please take a look.
--
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]