You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/12/06 13:02:44 UTC

[libcloud] 01/03: Fix for apache/libcloud #1521

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 58298451253d8bcd2b82356b0434085c264e7306
Author: Freek Dijkstra <fr...@macfreek.nl>
AuthorDate: Mon Nov 23 01:54:59 2020 +0100

    Fix for apache/libcloud #1521
---
 libcloud/dns/drivers/auroradns.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcloud/dns/drivers/auroradns.py b/libcloud/dns/drivers/auroradns.py
index 5e634e3..f9257d4 100644
--- a/libcloud/dns/drivers/auroradns.py
+++ b/libcloud/dns/drivers/auroradns.py
@@ -168,7 +168,7 @@ class AuroraDNSResponse(JsonResponse):
             raise InvalidCredsError(**error)
         elif status == httplib.FORBIDDEN:
             error['value'] = 'Authorization failed'
-            error['http_status'] = status
+            error['http_code'] = status
             raise ProviderError(**error)
         elif status == httplib.NOT_FOUND:
             context = self.connection.context