Browse Source

Merge "Get validation log path if exist"

tags/1.1.1
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
7a72d2a3e0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      validations_common/callback_plugins/validation_json.py

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

@@ -35,7 +35,9 @@ DOCUMENTATION = '''
requirements: None
'''

VALIDATIONS_LOG_DIR = "/var/log/validations"
VALIDATIONS_LOG_DIR = (os.getenv('VALIDATIONS_LOG_DIR')
if os.getenv('VALIDATIONS_LOG_DIR') else
"/var/log/validations")


def current_time():


Loading…
Cancel
Save