Unsupported module driver not logged correctly
If an invalid module driver is found, the method is erroneously printed out instead of the actual 'type.' This is due to missing parenthesis in the logging call. This has been fixed. Change-Id: I6fb23b3dbbec98de9ee1e2731bcfc56ab3c0ca42 Closes-Bug: #1579900
This commit is contained in:
parent
4e314e5e29
commit
970d23ff2a
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- An invalid module driver is now logged correctly.
|
||||
Bug 1579900
|
@ -69,7 +69,7 @@ class ModuleDriverManager(object):
|
||||
supported = True
|
||||
else:
|
||||
LOG.info(_("Driver '%s' not supported, skipping"),
|
||||
driver.get_type)
|
||||
driver.get_type())
|
||||
except AttributeError as ex:
|
||||
LOG.exception(_("Exception loading module driver: %s"),
|
||||
encodeutils.exception_to_unicode(ex))
|
||||
|
Loading…
x
Reference in New Issue
Block a user