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
2 people authored and dandhlee committed Nov 16, 2022
1 parent 58202a1 commit 852b35b
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 852b35b

Please sign in to comment.