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:
parent
07a598089a
commit
b6273e91cf
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue