Merge "Improve clarity of exception message"

This commit is contained in:
Zuul 2024-02-18 13:56:01 +00:00 committed by Gerrit Code Review
commit 245505dc04

View File

@ -236,7 +236,8 @@ class ConductorAPI(object):
return dest.pop()
except exception.DriverNotFound:
reason = (_('No conductor service registered which supports '
'driver %(driver)s for conductor group "%(group)s".') %
'driver %(driver)s for conductor group "%(group)s". '
'Ensure the driver is valid and enabled.') %
{'driver': node.driver, 'group': node.conductor_group})
raise exception.NoValidHost(reason=reason)