Fix deprecation warning message from grafana_annotations

The Display class has no `info` attribute/method. The use of the method
was raising an Exception in task_queue_manager and displayed an
unappropriate deprecation warning.
This commit is contained in:
Rémi REY 2019-06-10 16:32:45 +02:00 committed by Michael Scherer
parent 07a598089a
commit b6273e91cf

View file

@ -193,7 +193,7 @@ class CallbackModule(CallbackBase):
self._display.warning('Grafana URL was not provided. The '
'Grafana URL can be provided using '
'the `GRAFANA_URL` environment variable.')
self._display.info('Grafana URL: %s' % self.grafana_url)
self._display.debug('Grafana URL: %s' % self.grafana_url)
def v2_playbook_on_start(self, playbook):
self.playbook = playbook._file_name