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 2017/04/01 00:41:39 UTC

[1/2] libcloud git commit: Improve GCE Compute driver docstrings.

Repository: libcloud
Updated Branches:
  refs/heads/trunk 567db9791 -> e27581b5b


Improve GCE Compute driver docstrings.


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

Branch: refs/heads/trunk
Commit: 3bc881203d64ea47c405a63466858e80f83c5f95
Parents: 567db97
Author: toller <ru...@emc.com>
Authored: Thu Feb 2 10:16:21 2017 -0700
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 11:41:21 2017 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/gce.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/3bc88120/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 09187d3..3e247a9 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -1874,7 +1874,7 @@ class GCENodeDriver(NodeDriver):
         :type     node: ``Node``
 
         :keyword  name: Name of the access config.
-        :type     node: ``str``
+        :type     nam: ``str``
 
         :keyword  nic: Name of the network interface.
         :type     nic: ``str``
@@ -3233,7 +3233,7 @@ class GCENodeDriver(NodeDriver):
                           is set with that family name.
         :type     family: ``str``
 
-        :keywork  guest_os_features: Features of the guest operating system,
+        :keyword  guest_os_features: Features of the guest operating system,
                                      valid for bootable images only. Possible
                                      values include \'VIRTIO_SCSI_MULTIQUEUE\',
                                      \'WINDOWS\', \'MULTI_IP_SUBNET\' if
@@ -3303,7 +3303,7 @@ class GCENodeDriver(NodeDriver):
         :type   name: ``str``
 
         :param  url: The URL to the image. The URL can start with `gs://`
-        :param  url: ``str``
+        :type url: ``str``
 
         :param  description: The description of the image
         :type   description: ``str``
@@ -5536,7 +5536,7 @@ class GCENodeDriver(NodeDriver):
         :param  instancegroup:  The Instance Group where from which you
                                 want to generate a list of included
                                 instances.
-        :type   instancegroup: :class:``GCEInstanceGroup``
+        :type   instancegroup: :class:`GCEInstanceGroup`
 
         :return:  List of :class:`GCENode` objects.
         :rtype: ``list`` of :class:`GCENode` objects.
@@ -6651,8 +6651,8 @@ class GCENodeDriver(NodeDriver):
         """
         Return a License object for specified project and name.
 
-        :param  name: The project to reference when looking up the license.
-        :type   name: ``str``
+        :param  project: The project to reference when looking up the license.
+        :type   project: ``str``
 
         :param  name: The name of the License
         :type   name: ``str``
@@ -6786,7 +6786,7 @@ class GCENodeDriver(NodeDriver):
 
         :param  ex_project_list: The name of the project to list for images.
                                  Examples include: 'debian-cloud'.
-        :type   ex_project_List: ``str``, ``list`` of ``str``, or ``None``
+        :type   ex_project_list: ``str`` or ``list`` of ``str`` or ``None``
 
         :param  ex_standard_projects: If true, check in standard projects if
                                       the image is not found.
@@ -6919,8 +6919,8 @@ class GCENodeDriver(NodeDriver):
         :param  name: The name, URL or object of the subnetwork
         :type   name: ``str`` or :class:`GCESubnetwork`
 
-        :param  name: The region object, name, or URL of the subnetwork
-        :type   name: ``str`` or :class:`GCERegion` or ``None``
+        :keyword region: The region object, name, or URL of the subnetwork
+        :type   region: ``str`` or :class:`GCERegion` or ``None``
 
         :return:  True if successful
         :rtype:   ``bool``
@@ -6966,8 +6966,8 @@ class GCENodeDriver(NodeDriver):
         :param  name: The name or URL of the subnetwork
         :type   name: ``str``
 
-        :param  name: The region of the subnetwork
-        :type   name: ``str`` or :class:`GCERegion` or ``None``
+        :keyword region: The region of the subnetwork
+        :type   region: ``str`` or :class:`GCERegion` or ``None``
 
         :return:  A Subnetwork object
         :rtype:   :class:`GCESubnetwork`


[2/2] libcloud git commit: Fixed typo and found another copy paste error. Closes #981

Posted by an...@apache.org.
Fixed typo and found another copy paste error.
Closes #981


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

Branch: refs/heads/trunk
Commit: e27581b5b5e27e032ab574aa9d4cb58b147c500d
Parents: 3bc8812
Author: toller <ru...@emc.com>
Authored: Tue Feb 21 10:11:50 2017 -0700
Committer: Anthony Shaw <an...@apache.org>
Committed: Sat Apr 1 11:41:24 2017 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/gce.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e27581b5/libcloud/compute/drivers/gce.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py
index 3e247a9..7ff5f0f 100644
--- a/libcloud/compute/drivers/gce.py
+++ b/libcloud/compute/drivers/gce.py
@@ -1287,7 +1287,7 @@ class GCEInstanceGroupManager(UuidMixin):
         :type   id: ``str``
 
         :param  name: The name of this Instance Group.
-        :type   size: ``str``
+        :type   name: ``str``
 
         :param  zone: Zone in witch the Instance Group belongs
         :type   zone: :class: ``GCEZone``
@@ -1874,7 +1874,7 @@ class GCENodeDriver(NodeDriver):
         :type     node: ``Node``
 
         :keyword  name: Name of the access config.
-        :type     nam: ``str``
+        :type     name: ``str``
 
         :keyword  nic: Name of the network interface.
         :type     nic: ``str``