OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package buildbot | 5 package buildbot |
6 | 6 |
7 import ( | 7 import ( |
8 "github.com/luci/gae/service/datastore" | 8 "github.com/luci/gae/service/datastore" |
9 | 9 |
10 "golang.org/x/net/context" | 10 "golang.org/x/net/context" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 builds = append(builds, build) | 46 builds = append(builds, build) |
47 tmpCursor, err := getCursor() | 47 tmpCursor, err := getCursor() |
48 if err != nil { | 48 if err != nil { |
49 return err | 49 return err |
50 } | 50 } |
51 nextCursor = &tmpCursor | 51 nextCursor = &tmpCursor |
52 return nil | 52 return nil |
53 }) | 53 }) |
54 return builds, nextCursor, err | 54 return builds, nextCursor, err |
55 } | 55 } |
OLD | NEW |