mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
Merge d2935aa99d into e60892483e
This commit is contained in:
commit
b8fe892c89
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ if __name__ == "__main__":
|
|||
exit(1)
|
||||
|
||||
for crdFile in sys.argv[1:]:
|
||||
if crdFile.startswith("http"):
|
||||
if crdFile.startswith("http:") or crdFile.startsWith("https:"):
|
||||
f = urllib.request.urlopen(crdFile)
|
||||
else:
|
||||
f = open(crdFile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue