Skip to content

Commit

Permalink
Log level modifications.
Browse files Browse the repository at this point in the history
Handling error in the relog. Formatting issue.

Fixes: gluster#212

Signed-off-by: srijan-sivakumar <[email protected]>
  • Loading branch information
srijan-sivakumar committed Apr 21, 2021
1 parent dcbdcdf commit 1c3dc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/relog.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def log_dir_creation(cls, path: str, component_dict: dict,

components = component_dict[test_type]
for component in components:
if not os.path.isdir("{test_type_path}/{component}"):
os.makedirs("{test_type_path}/{component}")
if not os.path.isdir(f"{test_type_path}/{component}"):
os.makedirs(f"{test_type_path}/{component}")

# TC wise directory creation.
for test in test_dict["disruptive"]:
Expand Down

0 comments on commit 1c3dc3c

Please sign in to comment.