Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
removed delete volume if attaching failed
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Aug 12, 2019
1 parent cc166c1 commit 88440d2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions VirtualMachineService/VirtualMachineHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,6 @@ def checkStatusVolume(volume, conn):
),
exc_info=True,
)
self.logger.info("Delete Volume {0}".format(volume_id))
self.conn.block_storage.delete_volume(volume=volume_id)
return False

return True
Expand Down

0 comments on commit 88440d2

Please sign in to comment.