| 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 "os" | 8 "os" |
| 9 "os/exec" | 9 "os/exec" |
| 10 "path/filepath" | 10 "path/filepath" |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 } | 211 } |
| 212 | 212 |
| 213 type gcloudTool struct { | 213 type gcloudTool struct { |
| 214 exe string | 214 exe string |
| 215 project string | 215 project string |
| 216 } | 216 } |
| 217 | 217 |
| 218 func (t *gcloudTool) exec(command string, args ...string) *workExecutor { | 218 func (t *gcloudTool) exec(command string, args ...string) *workExecutor { |
| 219 return execute(t.exe, append([]string{"--project", t.project, command},
args...)...) | 219 return execute(t.exe, append([]string{"--project", t.project, command},
args...)...) |
| 220 } | 220 } |
| OLD | NEW |