Skip to content

Commit

Permalink
Revert "warn about allocations w/ job submission time"
Browse files Browse the repository at this point in the history
This reverts commit 81bb5bd.
  • Loading branch information
hamidzr committed Mar 25, 2024
1 parent 3e981bd commit d5fb289
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions master/internal/rm/tasklist/task_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"strings"

"github.com/emirpasic/gods/sets/treeset"
"github.com/sirupsen/logrus"

"github.com/determined-ai/determined/master/internal/sproto"
"github.com/determined-ai/determined/master/pkg/model"
Expand Down Expand Up @@ -94,9 +93,6 @@ func (l *TaskList) AddAllocation(id model.AllocationID, assigned *sproto.Resourc
// AddAllocationRaw adds an allocation for the allocation actor without modifying the
// sproto.AllocateRequest's sproto.SchedulingState.
func (l *TaskList) AddAllocationRaw(id model.AllocationID, assigned *sproto.ResourcesAllocated) {
if assigned != nil && assigned.JobSubmissionTime.IsZero() {
logrus.Warnf("added allocation %s without a job submission time", id)
}
l.allocations[id] = assigned
}

Expand Down

0 comments on commit d5fb289

Please sign in to comment.