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.
pull/59076/head
Rémi REY 6 years ago committed by Michael Scherer
parent 07a598089a
commit b6273e91cf

@ -193,7 +193,7 @@ class CallbackModule(CallbackBase):
self._display.warning('Grafana URL was not provided. The ' self._display.warning('Grafana URL was not provided. The '
'Grafana URL can be provided using ' 'Grafana URL can be provided using '
'the `GRAFANA_URL` environment variable.') '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): def v2_playbook_on_start(self, playbook):
self.playbook = playbook._file_name self.playbook = playbook._file_name

Loading…
Cancel
Save