| 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 console | 5 package console |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 "net/http" | 9 "net/http" |
| 10 "strings" | 10 "strings" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 99 } |
| 100 | 100 |
| 101 cs := &resp.Console{ | 101 cs := &resp.Console{ |
| 102 Name: def.Name, | 102 Name: def.Name, |
| 103 Commit: ccb, | 103 Commit: ccb, |
| 104 BuilderRef: builders, | 104 BuilderRef: builders, |
| 105 } | 105 } |
| 106 | 106 |
| 107 return cs, nil | 107 return cs, nil |
| 108 } | 108 } |
| OLD | NEW |