[ARVADOS] updated: e33c9989f60e189075b47fed1b6536fb1e5cf596
Git user
git at public.curoverse.com
Wed Sep 27 09:44:00 EDT 2017
Summary of changes:
services/nodemanager/arvnodeman/computenode/__init__.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
via e33c9989f60e189075b47fed1b6536fb1e5cf596 (commit)
from b65b2b9df921793fd1d4fca20b1e0738db446489 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e33c9989f60e189075b47fed1b6536fb1e5cf596
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Wed Sep 27 10:39:36 2017 -0300
12195: Fixed warning message when the Retry-After header value cannot
be converted to integer.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/services/nodemanager/arvnodeman/computenode/__init__.py b/services/nodemanager/arvnodeman/computenode/__init__.py
index 00b023f..4e46a43 100644
--- a/services/nodemanager/arvnodeman/computenode/__init__.py
+++ b/services/nodemanager/arvnodeman/computenode/__init__.py
@@ -95,8 +95,9 @@ class RetryMixin(object):
should_retry = True
except ValueError:
self._logger.warning(
- "Unrecognizable Retry-After header: %s",
- error, exc_info=error)
+ "Unrecognizable Retry-After header: %r",
+ error.headers["retry-after"],
+ exc_info=error)
if error.code == 429 or error.code >= 500:
should_retry = True
except CLOUD_ERRORS as error:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list