Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: task_scheduler/go/scheduling/task_candidate.go

Issue 2296763008: [task scheduler] Move files from build_scheduler/ to task_scheduler/ (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « task_scheduler/go/scheduling/specs_test.go ('k') | task_scheduler/go/scheduling/task_candidate_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: task_scheduler/go/scheduling/task_candidate.go
diff --git a/build_scheduler/go/task_scheduler/task_candidate.go b/task_scheduler/go/scheduling/task_candidate.go
similarity index 98%
rename from build_scheduler/go/task_scheduler/task_candidate.go
rename to task_scheduler/go/scheduling/task_candidate.go
index 1c6ae0998c9d3ccaa1a72908c08f37fd17cb716d..19603d16ed8d44680b071ab32d063c766cb7ee1d 100644
--- a/build_scheduler/go/task_scheduler/task_candidate.go
+++ b/task_scheduler/go/scheduling/task_candidate.go
@@ -1,4 +1,4 @@
-package task_scheduler
+package scheduling
import (
"fmt"
@@ -6,9 +6,9 @@ import (
"strings"
swarming_api "github.com/luci/luci-go/common/api/swarming/swarming/v1"
- "go.skia.org/infra/build_scheduler/go/db"
"go.skia.org/infra/go/isolate"
"go.skia.org/infra/go/swarming"
+ "go.skia.org/infra/task_scheduler/go/db"
)
// taskCandidate is a struct used for determining which tasks to schedule.
@@ -131,7 +131,7 @@ func (c *taskCandidate) MakeTaskRequest(id string) *swarming_api.SwarmingRpcsNew
IoTimeoutSecs: int64(swarming.RECOMMENDED_IO_TIMEOUT.Seconds()),
},
Tags: db.TagsForTask(c.Name, id, c.TaskSpec.Priority, c.Repo, c.Revision, dimsMap),
- User: "skia-build-scheduler",
+ User: "skia-task-scheduler",
}
}
« no previous file with comments | « task_scheduler/go/scheduling/specs_test.go ('k') | task_scheduler/go/scheduling/task_candidate_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698