Skip to content

Commit c4f373e

Browse files
committed
python/network/docker_image: fix ValueError constructor
1 parent 7ab68f9 commit c4f373e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/network/docker_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def ping(self, scope=None):
175175
logger.debug("Authentication OK, ping result=%r", ping_response.json())
176176
return ping_response.json()
177177

178-
raise ValueError("Unexpected authentication header kind %r", auth_header)
178+
raise ValueError("Unexpected authentication header kind {}".format(repr(auth_header)))
179179

180180
logger.error("Unexpected ping response code %d", ping_response.status_code)
181181
raise ValueError("Unexpected ping response")

0 commit comments

Comments
 (0)