You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("No api_key found in the config file and hostvars aren't set: disabling Datadog callback plugin")
240
+
print("No api_key found in the config file ({0}) and hostvars aren't set: disabling Datadog callback plugin".format(config_path))
244
241
self.disabled=True
245
242
else:
246
243
try:
247
244
api_key=hostvars['localhost']['datadog_api_key']
248
245
exceptExceptionase:
249
-
print('No "api_key" found in the config file and {0}is not set in the hostvars: disabling Datadog callback plugin'.format(e))
246
+
print('No "api_key" found in the config file ({0}) and "datadog_api_key" is not set in the hostvars: disabling Datadog callback plugin'.format(config_path))
0 commit comments