Kaydet (Commit) adbb3079 authored tarafından Boik's avatar Boik

make the error message clearer

Signed-off-by: 's avatarBoik <qazbnm456@gmail.com>
üst b4eb3b9c
......@@ -838,7 +838,8 @@ class ContainerApiMixin(object):
params['since'] = since
else:
raise errors.InvalidArgument(
'since value should be datetime or int, not {}'.
'since value should be datetime or positive int\
, not {}'.
format(type(since))
)
url = self._url("/containers/{0}/logs", container)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment