Browse Source

Merge "Fallback on PWD for the Validation json log instead of getcwd"

changes/09/785509/1
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
ffd14ed679
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      validations_common/callback_plugins/validation_json.py

+ 1
- 1
validations_common/callback_plugins/validation_json.py View File

@ -40,7 +40,7 @@ VALIDATIONS_LOG_DIR = (os.getenv('VALIDATIONS_LOG_DIR')
('/var/log/validations'
if os.path.exists('/var/log/validations')
and os.access('/var/log/validations', os.W_OK) else
os.getcwd()))
os.environ.get('PWD')))
def current_time():


Loading…
Cancel
Save