Fix incorrect strings and formatting
There were a few typos and some lines of code that weren't formatted properly. Now, the typos are fixed and the misformatted code is corrected. Change-Id: I6009e44f65b9be1ae9edc806618342c334b2fa92
This commit is contained in:
@@ -207,7 +207,7 @@ class AuditTemplateAlreadyExists(Conflict):
|
|||||||
|
|
||||||
class AuditTemplateReferenced(Invalid):
|
class AuditTemplateReferenced(Invalid):
|
||||||
msg_fmt = _("AuditTemplate %(audit_template)s is referenced by one or "
|
msg_fmt = _("AuditTemplate %(audit_template)s is referenced by one or "
|
||||||
"multiple audit")
|
"multiple audits")
|
||||||
|
|
||||||
|
|
||||||
class AuditTypeNotFound(Invalid):
|
class AuditTypeNotFound(Invalid):
|
||||||
@@ -317,7 +317,7 @@ class AuthorizationFailure(WatcherException):
|
|||||||
|
|
||||||
|
|
||||||
class KeystoneFailure(WatcherException):
|
class KeystoneFailure(WatcherException):
|
||||||
msg_fmt = _("'Keystone API endpoint is missing''")
|
msg_fmt = _("Keystone API endpoint is missing")
|
||||||
|
|
||||||
|
|
||||||
class ClusterEmpty(WatcherException):
|
class ClusterEmpty(WatcherException):
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ def extend_with_strict_schema(validator_class):
|
|||||||
raise exception.AuditParameterNotAllowed(parameter=para)
|
raise exception.AuditParameterNotAllowed(parameter=para)
|
||||||
|
|
||||||
for error in validate_properties(
|
for error in validate_properties(
|
||||||
validator, properties, instance, schema
|
validator, properties, instance, schema
|
||||||
):
|
):
|
||||||
yield error
|
yield error
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user