Skip to content

Commit

Permalink
fix a cloud deletion bug
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 7, 2019
1 parent 271aeb8 commit 169590e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pk1/clouds/drivers/evcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def _do_action(self, action, params):
class KeyManager(object):
def create(self, name, public_key):
return None
def delete(self, name, public_key):
def delete(self, name):
return None

class FlavorManager(object):
Expand Down
2 changes: 1 addition & 1 deletion pk1/clouds/drivers/h3cloudos.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _tenant_delete(self, url, retry_when_response_unexpected_strings=None, retry
class KeyManager(object):
def create(self, name, public_key):
return None
def delete(self, name, public_key):
def delete(self, name):
return None

class FlavorManager(object):
Expand Down

0 comments on commit 169590e

Please sign in to comment.