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

Min bundle #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
347 changes: 0 additions & 347 deletions __main__.py

This file was deleted.

9 changes: 8 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,13 @@ def set_auth_mvip(repo):
#============================================================
# mnode support bundle
elif args.action == 'supportbundle':
isExist = os.path.exists(repo.SUPPORT_DIR)
if not isExist:
os.makedirs(repo.SUPPORT_DIR)
logmsg.info("Start support bundle...")
<<<<<<< HEAD
#healthcheck_run_all(repo)
=======
# =====================================================================
# clean up any old logs
try:
Expand All @@ -201,6 +207,7 @@ def set_auth_mvip(repo):
except OSError as exception:
logmsg.debug(exception)
healthcheck_run_all(repo)
>>>>>>> main
SupportBundle(repo)

#============================================================
Expand Down Expand Up @@ -344,4 +351,4 @@ def set_auth_mvip(repo):
json_return = Package.list_packages(repo)
if json_return:
for package in json_return:
logmsg.info("\n{:<20}{}\n\t{}\n\t{}\n\t{}".format(package["name"],package["version"],package['CIFSUrl'],package['HTTPSUrl'],package['NFSUrl']))
logmsg.info("\n{:<20}{}\n\t{}\n\t{}\n\t{}".format(package["name"],package["version"],package['CIFSUrl'],package['HTTPSUrl'],package['NFSUrl']))
Binary file modified mnode-support-util
Binary file not shown.