Skip to content

Commit d00ac68

Browse files
[fix] Fixed s3/local file link perf report table production (#221)
1 parent b35791b commit d00ac68

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

redisbench_admin/run_local/profile_local.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ def local_profilers_print_artifacts_table(profilers_artifacts_matrix):
2929
artifact = row[2]
3030
local_file = row[3]
3131
s3_link = row[4]
32-
if len(s3_link) > 0:
33-
use_local_file = False
32+
if s3_link is not None:
33+
if len(s3_link) > 0:
34+
use_local_file = False
3435

3536
if test_case not in test_cases:
3637
test_cases.append(test_case)

0 commit comments

Comments
 (0)