HM Update for url_path uses incorrect validation

Change-Id: I202d337fb362af199d8ee85716c0c752a0f52ccc
This commit is contained in:
Adam Harwell 2017-06-20 11:17:29 -07:00
parent e5ac4a0426
commit 9767f0908e
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class HealthMonitorPUT(BaseHealthMonitorType):
maximum=constants.MAX_HM_RETRIES))
http_method = wtypes.wsattr(
wtypes.Enum(str, *constants.SUPPORTED_HEALTH_MONITOR_HTTP_METHODS))
url_path = wtypes.wsattr(types.URLType())
url_path = wtypes.wsattr(types.URLType(require_scheme=False))
expected_codes = wtypes.wsattr(
wtypes.StringType(pattern=r'^(\d{3}(\s*,\s*\d{3})*)$|^(\d{3}-\d{3})$'))
admin_state_up = wtypes.wsattr(bool)