| 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 "strings" | 9 "strings" |
| 10 | 10 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 err := a.runWork(c, func(w *work) error { | 226 err := a.runWork(c, func(w *work) error { |
| 227 a.dp.params.stage = deployCommit | 227 a.dp.params.stage = deployCommit |
| 228 return a.dp.deploy(w) | 228 return a.dp.deploy(w) |
| 229 }) | 229 }) |
| 230 if err != nil { | 230 if err != nil { |
| 231 logError(c, err, "Failed to update GAE parameters.") | 231 logError(c, err, "Failed to update GAE parameters.") |
| 232 return 1 | 232 return 1 |
| 233 } | 233 } |
| 234 return rv | 234 return rv |
| 235 } | 235 } |
| OLD | NEW |