You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2021/11/10 17:17:27 UTC

[GitHub] [libcloud] Germandrummer92 commented on a change in pull request #1592: Make retry handle http status codes

Germandrummer92 commented on a change in pull request #1592:
URL: https://github.com/apache/libcloud/pull/1592#discussion_r746811674



##########
File path: libcloud/common/ovh.py
##########
@@ -226,7 +226,7 @@ def handle_and_rethrow_user_friendly_invalid_region_error(host, e):
     """
     msg = str(e).lower()
 
-    if 'name or service not known' in msg or 'getaddrinfo failed' in msg:
+    if 'nodename nor servname provided, or not known' in msg or 'getaddrinfo failed' in msg:

Review comment:
       hmm interesting, maybe related to a requests version in my local environment or even os-specific (running on mac). changed it




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org