0lai0 commented on code in PR #918:
URL: https://github.com/apache/yunikorn-core/pull/918#discussion_r1690045257
##########
pkg/scheduler/partition.go:
##########
@@ -324,12 +325,14 @@ 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)
+ outter_err := fmt.Errorf("failed to create
recovery queue %s for application %s", common.RecoveryQueueFull, appID)
+ return errors.Join(outter_err, err)
Review Comment:
I think it’s good, let me make some changes.
--
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]