Skip to content

Conversation

zone-zero
Copy link
Contributor

check an http transformation exists before deleting. allows for graceful return from delete if transform doesn't exist instead of failure.

zone-zero and others added 2 commits July 6, 2021 09:01
check if transform exists before deleting.
changed to get_all method to see if transform exists before deleting
@djorgen-ibm
Copy link
Collaborator

Hi, the check for existence is done in _check().

@zone-zero
Copy link
Contributor Author

hmm, good point, will change to call _check on delete.

@djorgen-ibm
Copy link
Collaborator

_check is called during delete:
if force is True or _check(isamAppliance, id) is True:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants