aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/validate-all-file.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/validate-all-file.py b/tools/validate-all-file.py
index 0b6007053..17eb6a854 100755
--- a/tools/validate-all-file.py
+++ b/tools/validate-all-file.py
@@ -169,18 +169,18 @@ def check_task_contents():
if task.get('block'):
block = task
for task in task['block']:
- if check_docker_become(fullpath, task, block):
+ if check_container_become(fullpath, task, block):
return_code = 1
else:
- if check_docker_become(fullpath, task):
+ if check_container_become(fullpath, task):
return_code = 1
return return_code
-def check_docker_become(fullpath, task, block=''):
+def check_container_become(fullpath, task, block=''):
- ce_modules = ('kolla_docker', 'kolla_container_facts', 'kolla_toolbox')
+ ce_modules = ('kolla_container', 'kolla_container_facts', 'kolla_toolbox')
cmd_modules = ('command', 'shell')
return_code = 0