Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixops-aws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0da38bb5de82
Choose a base ref
...
head repository: NixOS/nixops-aws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 90ed3a3bd2a0
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 16, 2020

  1. ebs-volume: add automatic retries during volume deletion

    This will fix AWS eventual consistency problems.
    AmineChikhaoui committed Jan 16, 2020
    Copy the full SHA
    90ed3a3 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixopsaws/resources/ebs_volume.py
2 changes: 1 addition & 1 deletion nixopsaws/resources/ebs_volume.py
Original file line number Diff line number Diff line change
@@ -176,5 +176,5 @@ def destroy(self, wipe=False):
if not volume: return True
if not self.depl.logger.confirm("are you sure you want to destroy EBS volume ‘{0}’?".format(self.name)): return False
self.log("destroying EBS volume ‘{0}’...".format(self.volume_id))
volume.delete()
self._retry(lambda: volume.delete())
return True