Skip to content

Commit 1ba0190

Browse files
renovate-botgcf-owl-bot[bot]
authored andcommitted
chore(deps): update dependency google-cloud-compute to v0.9.0 (#171)
* chore(deps): update dependency google-cloud-compute to v0.9.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 852b35b commit 1ba0190

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-cloud-compute==0.8.0
1+
google-cloud-compute==0.9.0

compute/compute/snippets/sample_start_stop.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def start_instance(project_id: str, zone: str, instance_name: str):
4343
instance_client = compute_v1.InstancesClient()
4444
op_client = compute_v1.ZoneOperationsClient()
4545

46-
op = instance_client.start_unary(project=project_id, zone=zone, instance=instance_name)
46+
op = instance_client.start_unary(
47+
project=project_id, zone=zone, instance=instance_name
48+
)
4749

4850
while op.status != compute_v1.Operation.Status.DONE:
4951
op = op_client.wait(operation=op.name, zone=zone, project=project_id)

0 commit comments

Comments
 (0)