use correct object in error

fixes #40453

(cherry picked from commit 0339c8037b)
pull/40917/head
Brian Coca 7 years ago committed by Brian Coca
parent 48f6670b49
commit be46ea7bf2

@ -0,0 +1,2 @@
- bufgix:
- correctly reference the callback ojbect when giving an error https://github.com/ansible/ansible/pull/40453

@ -210,7 +210,7 @@ class TaskQueueManager:
except AttributeError:
display.deprecated("%s callback, does not support setting 'options', it will work for now, "
" but this will be required in the future and should be updated, "
" see the 2.4 porting guide for details." % self.callback_obj._load_name, version="2.9")
" see the 2.4 porting guide for details." % callback_obj._load_name, version="2.9")
self._callback_plugins.append(callback_obj)
self._callbacks_loaded = True

Loading…
Cancel
Save