Passes playbook to the validation action as a list
Recent removal of the 'validations_libs.utils.convert_data' function, implemented by the Ief9459e914ea73fbd59a85c07a55c26078e0126a, resulted in a change of accepted argument types of the 'validations_libs.validation_actions' methods. This patch turns the passed argument from string into a list. Closes-bug: #1936465 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I4e96f5a0e013de5abcde837dad3c5f9d5228dd4c
This commit is contained in:
parent
c4ecb30d6e
commit
efdefd92de
|
@ -95,7 +95,7 @@ def _check_diskspace(upgrade=False):
|
||||||
inventory='undercloud',
|
inventory='undercloud',
|
||||||
log_path=tmp,
|
log_path=tmp,
|
||||||
validations_dir=constants.ANSIBLE_VALIDATION_DIR,
|
validations_dir=constants.ANSIBLE_VALIDATION_DIR,
|
||||||
validation_name=playbook_args['playbook'])
|
validation_name=[playbook_args['playbook']])
|
||||||
|
|
||||||
|
|
||||||
def _check_memory():
|
def _check_memory():
|
||||||
|
|
Loading…
Reference in New Issue