Skip to content

Commit

Permalink
Merge pull request #484 from RedHatQE/explixit_gce_zone
Browse files Browse the repository at this point in the history
  • Loading branch information
ogajduse authored Aug 5, 2024
2 parents d2be8d6 + eb3ef5f commit 64d6134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapanapi/systems/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def delete(self, timeout=360):
).execute()

wait_for(
lambda: self.system.is_zone_operation_done(operation["name"]),
lambda: self.system.is_zone_operation_done(operation["name"], zone=self.zone),
delay=0.5,
num_sec=timeout,
message=f"Delete {self.name}",
Expand Down Expand Up @@ -186,7 +186,7 @@ def stop(self):
project=self._project, zone=self.zone, instance=self.name
).execute()
wait_for(
lambda: self.system.is_zone_operation_done(operation["name"]),
lambda: self.system.is_zone_operation_done(operation["name"], zone=self.zone),
message=f"stop operation done {self.name}",
timeout=360,
)
Expand Down

0 comments on commit 64d6134

Please sign in to comment.