Skip to content

Python script for NetBackup AssetDB Cleanup for Cloud workload #48

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

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

sourabhedake-zz
Copy link
Collaborator

No description provided.

if response.status_code == 204:
print ("** Assets cleaned up successfully")
else:
print("** Unable to clean assets")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

log received response code and message if possible.
Use logger except print statements

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will incorporate this in next upcoming PR

@sagarsarange sagarsarange self-requested a review December 9, 2019 17:01
@sourabhedake-zz sourabhedake-zz merged commit 785f548 into master Dec 13, 2019
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.

3 participants