RHsyseng / openshift-checks

A collection of scripts to check the health of an OpenShift cluster
53 stars 44 forks source link

Syntax error being received #102

Closed ribua closed 2 years ago

ribua commented 2 years ago

Presently when running the script it keeps throwing the error

checks/pdb: line 15: "" + 1: syntax error: operand expected (error token is """ + 1")
No issues found

Edited the script to correct this.

dcritch commented 2 years ago

hi @ribua. thanks for the PR!

can you give some more details on the error? I tried to reproduce by running the script standalone (./openshift-checks.sh -s checks/pdb) and with the whole suite, and didn't get the error.

I see you have an SSL cert check in there as well? if you'd like to submit that as a new check, feel free to open a new PR just for that, but it probably shouldn't be part of this PR.

Thanks again!