Skip to content

Commit

Permalink
Merge pull request #13 from tzumainn/delete-error
Browse files Browse the repository at this point in the history
Change default for ignore_missing to False when deleting resources
  • Loading branch information
tzumainn authored Oct 25, 2024
2 parents d7f4b27 + 9969ca9 commit 64e6f74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esi/lease/v1/_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def get_offer(self, offer, fields=None):
"""
return self._get_with_fields(_offer.Offer, offer, fields=fields)

def delete_offer(self, offer, ignore_missing=True):
def delete_offer(self, offer, ignore_missing=False):
"""Delete an offer.
:param offer: The value can be either the ID of an offer or
Expand Down Expand Up @@ -203,7 +203,7 @@ def get_lease(self, lease, fields=None):
"""
return self._get_with_fields(_lease.Lease, lease, fields=fields)

def delete_lease(self, lease, ignore_missing=True):
def delete_lease(self, lease, ignore_missing=False):
"""Delete a lease.
:param lease: The value can be either the ID of a lease or
Expand Down Expand Up @@ -258,7 +258,7 @@ def create_console_auth_token(self, **attrs):
"""
return self._create(_console_auth_token.ConsoleAuthToken, **attrs)

def delete_console_auth_token(self, node_uuid_or_name, ignore_missing=True):
def delete_console_auth_token(self, node_uuid_or_name, ignore_missing=False):
"""Delete a console auth token for a node.
:param string node_uuid_or_name: node uuid or name
Expand Down

0 comments on commit 64e6f74

Please sign in to comment.