Skip to content

Commit

Permalink
chore: release 0.9.0 (#161)
Browse files Browse the repository at this point in the history
* chore: release 0.9.0

* update samples to reflect changes in the code

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
release-please[bot] and parthea authored Dec 14, 2021
1 parent b1e71c7 commit 8e443aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute/compute/snippets/sample_start_stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def start_instance(project_id: str, zone: str, instance_name: str):
instance_client = compute_v1.InstancesClient()
op_client = compute_v1.ZoneOperationsClient()

op = instance_client.start(project=project_id, zone=zone, instance=instance_name)
op = instance_client.start_unary(project=project_id, zone=zone, instance=instance_name)

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

0 comments on commit 8e443aa

Please sign in to comment.