Fix string in limit warning
A space missed in limit warning Change-Id: Ia557114009e8cd622f40613c5f3ee44a88c89831 Closes-Bug: #1492402
This commit is contained in:
parent
5657531353
commit
99ff7bd939
@ -45,7 +45,7 @@ def enforce_limit(limit):
|
|||||||
if limit is None:
|
if limit is None:
|
||||||
limit = cfg.CONF.api.default_api_return_limit
|
limit = cfg.CONF.api.default_api_return_limit
|
||||||
LOG.info(_LI('No limit value provided, result set will be'
|
LOG.info(_LI('No limit value provided, result set will be'
|
||||||
'limited to %(limit)d.'), {'limit': limit})
|
' limited to %(limit)d.'), {'limit': limit})
|
||||||
if not limit or limit <= 0:
|
if not limit or limit <= 0:
|
||||||
raise base.ClientSideError(_("Limit must be positive"))
|
raise base.ClientSideError(_("Limit must be positive"))
|
||||||
return limit
|
return limit
|
||||||
|
Loading…
Reference in New Issue
Block a user