Merge "Specific exception for stale cluster state was added."

This commit is contained in:
Jenkins
2016-12-13 15:35:41 +00:00
committed by Gerrit Code Review
8 changed files with 26 additions and 0 deletions

View File

@@ -340,6 +340,10 @@ class MetricCollectorNotDefined(WatcherException):
msg_fmt = _("The metrics resource collector is not defined")
class ClusterStateStale(WatcherException):
msg_fmt = _("The cluster state is stale")
class ClusterDataModelCollectionError(WatcherException):
msg_fmt = _("The cluster data model '%(cdm)s' could not be built")