You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand sys.argv this if-statement will never be true since the first entry in the sys.argv list will always be the file name, and therefore the length of the list will never be 0.
The text was updated successfully, but these errors were encountered:
I needed a tool to convert Kubernetes CRDs into JSON schemas, and found your awesome
openapi2jsonschema.py
script.Looking through it, I noticed
kubeconform/scripts/openapi2jsonschema.py
Lines 124 to 127 in b7d7b4d
As I understand
sys.argv
this if-statement will never be true since the first entry in thesys.argv
list will always be the file name, and therefore the length of the list will never be 0.The text was updated successfully, but these errors were encountered: