Merge "Fix health monitor exception"

This commit is contained in:
Zuul 2019-03-08 01:29:47 +00:00 committed by Gerrit Code Review
commit 6362aa4a2a
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class HealthMonitorController(base.BaseController):
'type {}'.format(db_hm.type))
if health_monitor.expected_codes != wtypes.Unset:
raise exceptions.InvalidOption(
value=consts.URL_PATH, option='health monitors of '
value=consts.EXPECTED_CODES, option='health monitors of '
'type {}'.format(db_hm.type))
else:
# For HTTP health monitor these cannot be null/None