You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2016/12/02 10:32:27 UTC

[5/9] libcloud git commit: Fix a small typo.

Fix a small typo.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/8f116200
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/8f116200
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/8f116200

Branch: refs/heads/trunk
Commit: 8f116200c5597e7d99dc77cb7911012635eb300e
Parents: d1b7d78
Author: Dave Halter <da...@gmail.com>
Authored: Wed Nov 23 17:27:42 2016 +0100
Committer: Dave Halter <da...@gmail.com>
Committed: Wed Nov 23 17:27:42 2016 +0100

----------------------------------------------------------------------
 libcloud/compute/drivers/cloudscale.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/8f116200/libcloud/compute/drivers/cloudscale.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/cloudscale.py b/libcloud/compute/drivers/cloudscale.py
index a998975..98034ec 100644
--- a/libcloud/compute/drivers/cloudscale.py
+++ b/libcloud/compute/drivers/cloudscale.py
@@ -203,7 +203,7 @@ class CloudscaleNodeDriver(NodeDriver):
 
     def _to_node(self, data):
         state = self.NODE_STATE_MAP.get(data['status'], NodeState.UNKNOWN)
-        extra_keys = ['volumes', 'inferfaces', 'anti_affinity_with']
+        extra_keys = ['volumes', 'interfaces', 'anti_affinity_with']
         extra = {}
         for key in extra_keys:
             if key in data: