We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e58dfa commit c56c288Copy full SHA for c56c288
pkg/scheduler/partition.go
@@ -356,10 +356,7 @@ func (pc *PartitionContext) AddApplication(app *objects.Application) error {
356
maxApps := app.GetMaxApps()
357
if !isRecoveryQueue && (guaranteedRes != nil || maxRes != nil || maxApps != 0) {
358
// set resources based on tags, but only if the queue is dynamic (unmanaged)
359
- if queue.IsManaged() {
360
- log.Log(log.SchedQueue).Warn("Trying to set resources on a queue that is not an unmanaged leaf",
361
- zap.String("queueName", queue.QueuePath))
362
- } else {
+ if !queue.IsManaged() {
363
if maxApps != 0 {
364
queue.SetMaxRunningApps(maxApps)
365
}
0 commit comments