Skip to content

Commit

Permalink
Fix in case --project is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
allegroai committed Jun 3, 2021
1 parent 9b81d5e commit 9254079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clearml_serving/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def cmd_triton(args):
if not args.id and not args.name:
raise ValueError("Serving service must have a name, use --name <service_name>")

if args.cmd_id or (args.id and not args.project and not args.name):
if args.cmd_id or (args.id and not args.name):
a_serving = ServingService(task_id=args.cmd_id or args.id)
else:
a_serving = ServingService(task_project=args.project, task_name=args.name, engine_type='triton')
Expand Down

0 comments on commit 9254079

Please sign in to comment.