aboutsummaryrefslogtreecommitdiffstats
path: root/vm/cuttlefish/cuttlefish.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/cuttlefish/cuttlefish.go')
-rw-r--r--vm/cuttlefish/cuttlefish.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/cuttlefish/cuttlefish.go b/vm/cuttlefish/cuttlefish.go
index 55e56d2e5..dbb95d51d 100644
--- a/vm/cuttlefish/cuttlefish.go
+++ b/vm/cuttlefish/cuttlefish.go
@@ -66,8 +66,8 @@ func (pool *Pool) Count() int {
return pool.gcePool.Count()
}
-func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) {
- gceInst, err := pool.gcePool.Create(workdir, index)
+func (pool *Pool) Create(ctx context.Context, workdir string, index int) (vmimpl.Instance, error) {
+ gceInst, err := pool.gcePool.Create(ctx, workdir, index)
if err != nil {
return nil, fmt.Errorf("failed to create underlying gce instance: %w", err)
}