| 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 main | 5 package main |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 "path/filepath" | 9 "path/filepath" |
| 10 "sort" | 10 "sort" |
| (...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 | 801 |
| 802 default: | 802 default: |
| 803 return nil, errors.Reason("unknown task queue ty
pe %(type)T").D("type", t).Err() | 803 return nil, errors.Reason("unknown task queue ty
pe %(type)T").D("type", t).Err() |
| 804 } | 804 } |
| 805 | 805 |
| 806 queueYAML.Queue = append(queueYAML.Queue, &entry) | 806 queueYAML.Queue = append(queueYAML.Queue, &entry) |
| 807 } | 807 } |
| 808 } | 808 } |
| 809 return &queueYAML, nil | 809 return &queueYAML, nil |
| 810 } | 810 } |
| OLD | NEW |