Skip to content

Commit

Permalink
PR Comments taken care of
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayasimha Raghavan authored and Jayasimha Raghavan committed Sep 14, 2023
1 parent 0aaa162 commit cc7e2c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion unskript-ctl/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ def get_creds_by_connector(connector_type: str):
db.close()

if not retval:
print("RETURNING RETVAL AS NONE, NONE")
retval = (None, None)

return retval
Expand Down
8 changes: 4 additions & 4 deletions unskript-ctl/unskript-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1523,8 +1523,8 @@ def stop_debug():
help='Run the given runbook FILENAME [-RUNBOOK_PARM1 VALUE1] etc..')
parser.add_argument('-rc', '--run-checks', type=str,
help='Run all available checks [all | connector | failed]')
parser.add_argument('-rs', '--run-suites', type=str,
help='Run Health Check Suites (as defined in the unskript_config.yaml file)')
# parser.add_argument('-rs', '--run-suites', type=str,
# help='Run Health Check Suites (as defined in the unskript_config.yaml file)')
parser.add_argument('-df', '--display-failed-checks',
help='Display Failed Checks [all | connector]')
parser.add_argument('-lc', '--list-checks', type=str,
Expand Down Expand Up @@ -1559,8 +1559,8 @@ def stop_debug():
parse_runbook_param(args.run_runbook)
elif args.run_checks not in ('', None):
run_checks(args.run_checks)
elif args.run_suites not in ('', None):
run_suites(args.run_suites)
# elif args.run_suites not in ('', None):
# run_suites(args.run_suites)
elif args.display_failed_checks not in ('', None):
display_failed_checks(args.display_failed_checks)
elif args.list_checks not in ('', None):
Expand Down
6 changes: 0 additions & 6 deletions unskript-ctl/unskript_config.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ globals:
services: ["calendar", "audit"]


suites:
awesome-suite: [
"588e9f61ddf3343d359958ae195a3d912a7fe4d4341d098c62c2ffa0c6a1814f",
"134d70d8685769e42fdf3b014e948b88e3d0efd0b9da0f5a2e60cf6f62069aad"
]

0 comments on commit cc7e2c5

Please sign in to comment.