Skip to content

Commit c39fa0d

Browse files
Fixed server_name Null check
1 parent f221c48 commit c39fa0d

File tree

1 file changed

+1
-1
lines changed
  • redis_benchmarks_specification/__cli__

1 file changed

+1
-1
lines changed

redis_benchmarks_specification/__cli__/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ def trigger_tests_cli_command_logic(args, project_name, project_version):
422422
commit_dict["tests_groups_regexp"] = tests_groups_regexp
423423
commit_dict["github_org"] = args.gh_org
424424
commit_dict["github_repo"] = args.gh_repo
425-
if args.server_name != "":
425+
if args.server_name is not None and args.server_name != "":
426426
commit_dict["server_name"] = args.server_name
427427
if args.build_artifacts != "":
428428
commit_dict["build_artifacts"] = args.build_artifacts

0 commit comments

Comments
 (0)