Skip to content

Commit

Permalink
[YUNIKORN-1996] Change a log about queue update failure due to max ca…
Browse files Browse the repository at this point in the history
…pacity reached from Warn to Debug
  • Loading branch information
Yongjun Zhang committed Sep 20, 2023
1 parent 9ad817f commit 3168cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/objects/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ func (sa *Application) tryNode(node *Node, ask *AllocationAsk) *Allocation {
alloc := NewAllocation(common.GetNewUUID(), node.NodeID, ask)
if node.AddAllocation(alloc) {
if err := sa.queue.IncAllocatedResource(alloc.GetAllocatedResource(), false); err != nil {
log.Log(log.SchedApplication).Warn("queue update failed unexpectedly",
log.Log(log.SchedApplication).Debug("queue update failed unexpectedly",
zap.Error(err))
// revert the node update
node.RemoveAllocation(alloc.GetUUID())
Expand Down

0 comments on commit 3168cfd

Please sign in to comment.