Skip to content

Commit 8e443aa

Browse files
chore: release 0.9.0 (#161)
* 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 <[email protected]>
1 parent b1e71c7 commit 8e443aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compute/compute/snippets/sample_start_stop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ 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(project=project_id, zone=zone, instance=instance_name)
46+
op = instance_client.start_unary(project=project_id, zone=zone, instance=instance_name)
4747

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

0 commit comments

Comments
 (0)