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

Side by Side Diff: task_scheduler/go/db/task.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 unified diff | Download patch
« no previous file with comments | « task_scheduler/go/db/modified_tasks_test.go ('k') | task_scheduler/go/db/task_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package db 1 package db
2 2
3 import ( 3 import (
4 "bytes" 4 "bytes"
5 "encoding/gob" 5 "encoding/gob"
6 "errors" 6 "errors"
7 "fmt" 7 "fmt"
8 "reflect" 8 "reflect"
9 "sync" 9 "sync"
10 "time" 10 "time"
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 glog.Warningf("Duplicate dimension/tag %q.", k) 479 glog.Warningf("Duplicate dimension/tag %q.", k)
480 } 480 }
481 } 481 }
482 482
483 tagsList := make([]string, 0, len(tags)) 483 tagsList := make([]string, 0, len(tags))
484 for k, v := range tags { 484 for k, v := range tags {
485 tagsList = append(tagsList, fmt.Sprintf("%s:%s", k, v)) 485 tagsList = append(tagsList, fmt.Sprintf("%s:%s", k, v))
486 } 486 }
487 return tagsList 487 return tagsList
488 } 488 }
OLDNEW
« no previous file with comments | « task_scheduler/go/db/modified_tasks_test.go ('k') | task_scheduler/go/db/task_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698