Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check transform exists before deleting #318

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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