Use @needs to specify task composition for paver service checks, so that arguments are bundled correctly

This commit is contained in:
Calen Pennington
2016-07-27 14:39:26 -04:00
parent f3cc7bd588
commit 7a51a3052b

View File

@@ -198,11 +198,10 @@ def check_mysql():
@task
@needs('check_mongo', 'check_memcache', 'check_mysql')
@timed
def check_services():
"""
Check that all required services are running
"""
check_mongo()
check_memcache()
check_mysql()
pass