Browse Source

Merge "Fix validations listing when filtering by group(s)" into stable/train

changes/78/792378/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
c555df8b6a
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      tripleoclient/v1/tripleo_validator.py

+ 4
- 3
tripleoclient/v1/tripleo_validator.py View File

@ -213,9 +213,10 @@ class TripleOValidatorList(command.Lister):
try:
v_consts.DEFAULT_VALIDATIONS_BASEDIR = constants.\
DEFAULT_VALIDATIONS_BASEDIR
actions = ValidationActions(constants.ANSIBLE_VALIDATION_DIR,
parsed_args.group)
return actions.list_validations()
actions = ValidationActions(
validation_path=constants.ANSIBLE_VALIDATION_DIR
)
return actions.list_validations(parsed_args.group)
except Exception as e:
raise RuntimeError(_("Validations listing finished with errors\n"
"Output: {}").format(e))


Loading…
Cancel
Save