Merge "Fix wrong claim error message"

This commit is contained in:
Jenkins 2016-05-03 22:28:23 +00:00 committed by Gerrit Code Review
commit 9b2ea0719e

View File

@ -473,7 +473,7 @@ class Validator(object):
'must be at least {1} seconds long.')
raise ValidationFailed(
msg, self._limits_conf.max_message_ttl, MIN_CLAIM_TTL)
msg, self._limits_conf.max_claim_ttl, MIN_CLAIM_TTL)
def subscription_posting(self, subscription):
"""Restrictions on a creation of subscription.