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

Unified Diff: task_scheduler/go/task_scheduler/main.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/testdata/testrepo.zip ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: task_scheduler/go/task_scheduler/main.go
diff --git a/task_scheduler/go/task_scheduler/main.go b/task_scheduler/go/task_scheduler/main.go
index f7970e0dc80efca98011c6227d080a095584dda1..81d8da6ae00d091f5d3d933ea4af2ce002b3f322 100644
--- a/task_scheduler/go/task_scheduler/main.go
+++ b/task_scheduler/go/task_scheduler/main.go
@@ -5,9 +5,6 @@ import (
"path"
"github.com/skia-dev/glog"
- "go.skia.org/infra/build_scheduler/go/db"
- "go.skia.org/infra/build_scheduler/go/db/local_db"
- "go.skia.org/infra/build_scheduler/go/task_scheduler"
"go.skia.org/infra/go/auth"
"go.skia.org/infra/go/common"
"go.skia.org/infra/go/gitinfo"
@@ -17,6 +14,9 @@ import (
"go.skia.org/infra/go/skiaversion"
"go.skia.org/infra/go/swarming"
"go.skia.org/infra/go/util"
+ "go.skia.org/infra/task_scheduler/go/db"
+ "go.skia.org/infra/task_scheduler/go/db/local_db"
+ "go.skia.org/infra/task_scheduler/go/scheduling"
)
const (
@@ -40,7 +40,7 @@ var (
}
// Task Scheduler instance.
- ts *task_scheduler.TaskScheduler
+ ts *scheduling.TaskScheduler
// Git repo objects.
repos *gitinfo.RepoMap
@@ -109,7 +109,7 @@ func main() {
// Create and start the task scheduler.
glog.Infof("Creating task scheduler.")
- ts, err = task_scheduler.NewTaskScheduler(d, cache, period, *workdir, REPOS, isolate, swarm)
+ ts, err = scheduling.NewTaskScheduler(d, cache, period, *workdir, REPOS, isolate, swarm)
if err != nil {
glog.Fatal(err)
}
« no previous file with comments | « task_scheduler/go/scheduling/testdata/testrepo.zip ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698