mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-09 19:58:29 +00:00
fix
This commit is contained in:
parent
4f3c19114c
commit
e23213ee8a
1 changed files with 2 additions and 1 deletions
|
@ -291,12 +291,13 @@ def main():
|
||||||
help="Path to SSL certificate file for HTTPS",
|
help="Path to SSL certificate file for HTTPS",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
args = parser.parse_args()
|
||||||
|
|
||||||
if args.ssl_keyfile and not args.ssl_certfile:
|
if args.ssl_keyfile and not args.ssl_certfile:
|
||||||
parser.error("You must provide both --ssl-keyfile and --ssl-certfile when using HTTPS")
|
parser.error("You must provide both --ssl-keyfile and --ssl-certfile when using HTTPS")
|
||||||
if args.ssl_certfile and not args.ssl_keyfile:
|
if args.ssl_certfile and not args.ssl_keyfile:
|
||||||
parser.error("You must provide both --ssl-keyfile and --ssl-certfile when using HTTPS")
|
parser.error("You must provide both --ssl-keyfile and --ssl-certfile when using HTTPS")
|
||||||
|
|
||||||
args = parser.parse_args()
|
|
||||||
if args.env:
|
if args.env:
|
||||||
for env_pair in args.env:
|
for env_pair in args.env:
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue