Skip to content

Commit

Permalink
Merge PR #40913 into master
Browse files Browse the repository at this point in the history
* refs/pull/40913/head:
	qa/tasks/cephadm: fix ctx archive check for teuthology

Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Apr 22, 2021
2 parents 0fee244 + ec2a402 commit a5b1644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qa/tasks/cephadm.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def update_archive_setting(ctx, key, value):
"""
Add logs directory to job's info log file
"""
if ctx.archive is None:
return
with open(os.path.join(ctx.archive, 'info.yaml'), 'r+') as info_file:
info_yaml = yaml.safe_load(info_file)
info_file.seek(0)
Expand Down

0 comments on commit a5b1644

Please sign in to comment.