Skip to content

Commit

Permalink
[YUNIKORN-2991] update text
Browse files Browse the repository at this point in the history
  • Loading branch information
rhh777 committed Dec 31, 2024
1 parent f3d2d18 commit 0b42475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/scheduler/placement/placement.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (m *AppPlacementManager) PlaceApplication(app *objects.Application) error {
}
// Check if the queue in Draining state, and if so, proceed to the next rule
if queue.IsDraining() {
log.Log(log.SchedApplication).Debug("Cannot Placing application in draining queue",
log.Log(log.SchedApplication).Debug("Cannot place application in draining queue",
zap.String("queueName", queueName),
zap.String("ruleName", checkRule.getName()),
zap.String("application", app.ApplicationID))
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/placement/placement_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ partitions:
err = man.PlaceApplication(app)
queueName = app.GetQueuePath()
if err == nil || queueName != "" {
t.Errorf("Cannot Placing application in draining queue: '%s', error: %v", queueName, err)
t.Errorf("draining queue: app should not have been placed, queue: '%s', error: %v", queueName, err)
}
}

Expand Down

0 comments on commit 0b42475

Please sign in to comment.