Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.1

* Updated files to work with latest CI updates

## v1.0.0

* Drop Python 2.7 support
Expand Down
4 changes: 2 additions & 2 deletions actions/wait_for_server_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class WaitForCAASServerOperationAction(actions.BaseAction):
def run(self, region, id):
node = self.getNode(region, id)
if node is not None:
while(node.extra['status'].action == 'None'):
while (node.extra['status'].action == 'None'):
sleep(5)
node = self.getNode(region, id)
else:
raise "VM with the name doesn't exist"
raise Exception("VM with the name doesn't exist")

def getNode(self, region, id):
driver = self._get_compute_driver(region)
Expand Down
2 changes: 1 addition & 1 deletion pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- cloud
- load balancers
- dimension data
version: 1.0.0
version: 1.0.1
author : Anthony Shaw
email : [email protected]
python_versions:
Expand Down
Loading