Merge "Run init_agent only when agent is installed"

This commit is contained in:
Zuul 2018-12-10 14:15:06 +00:00 committed by Gerrit Code Review
commit 95f97dfbf1
1 changed files with 3 additions and 1 deletions

View File

@ -839,7 +839,9 @@ if is_service_enabled monasca-log; then
echo_summary "Initializing Monasca Log Management"
init_monasca_log
init_monasca_grafana_dashboards
init_agent
if is_service_enabled monasca-agent; then
init_agent
fi
start_monasca_log
fi