make refresh call sync function to wait action finish

Change-Id: I3c67b110d572ff6a4fc80250214790e82362a7ed
This commit is contained in:
xiaodongwang 2015-02-09 17:00:22 -08:00
parent be06a81171
commit ae58e8e4e5
2 changed files with 2 additions and 2 deletions
bin
compass/db/api

@ -2,7 +2,7 @@
set -e
service mysqld restart
/opt/compass/bin/manage_db.py createdb
/opt/compass/bin/clean_installers.py
/opt/compass/bin/clean_installers.py --noasync
/opt/compass/bin/clean_installation_logs.py
service httpd restart
service rsyslog restart

@ -280,7 +280,7 @@ def wrap_to_dict(support_keys=[], **filters):
def _wrapper_dict(data, support_keys, **filters):
"""Helper for warpping db object into dictionary."""
logging.info(
logging.debug(
'wrap dict %s by support_keys=%s filters=%s',
data, support_keys, filters
)