Return-Path: X-Original-To: apmail-libcloud-commits-archive@www.apache.org Delivered-To: apmail-libcloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E562710108 for ; Wed, 12 Mar 2014 09:49:07 +0000 (UTC) Received: (qmail 22042 invoked by uid 500); 12 Mar 2014 09:49:07 -0000 Delivered-To: apmail-libcloud-commits-archive@libcloud.apache.org Received: (qmail 22018 invoked by uid 500); 12 Mar 2014 09:49:05 -0000 Mailing-List: contact commits-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list commits@libcloud.apache.org Received: (qmail 22011 invoked by uid 99); 12 Mar 2014 09:49:05 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 09:49:05 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E699F941845; Wed, 12 Mar 2014 09:49:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tomaz@apache.org To: commits@libcloud.apache.org Message-Id: <4f3ff1f44fbd4722badb009a5d643c40@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: Fix a bunch of tyops Date: Wed, 12 Mar 2014 09:49:03 +0000 (UTC) Repository: libcloud Updated Branches: refs/heads/trunk 8b3bb0f94 -> b52e27263 Fix a bunch of tyops Closes #261 Closes #259 Signed-off-by: Tomaz Muraus Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b52e2726 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b52e2726 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b52e2726 Branch: refs/heads/trunk Commit: b52e27263f46c5afb326e6eb4ec78a7cb3d99cfd Parents: 8b3bb0f Author: Franck Cuny Authored: Tue Mar 11 21:06:57 2014 -0700 Committer: Tomaz Muraus Committed: Wed Mar 12 10:48:03 2014 +0100 ---------------------------------------------------------------------- libcloud/compute/drivers/gce.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/b52e2726/libcloud/compute/drivers/gce.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/gce.py b/libcloud/compute/drivers/gce.py index ee88a9f..6b12de6 100644 --- a/libcloud/compute/drivers/gce.py +++ b/libcloud/compute/drivers/gce.py @@ -241,7 +241,7 @@ class GCENetwork(UuidMixin): def destroy(self): """ - Destroy this newtwork + Destroy this network :return: True if successful :rtype: ``bool`` @@ -422,7 +422,7 @@ class GCEZone(NodeLocation): :return: A dictionary containing maintenance window info (or None if no maintenance windows are scheduled) The dictionary contains 4 keys with values of type ``str`` - - name: The name of the maintence window + - name: The name of the maintenance window - description: Description of the maintenance window - beginTime: RFC3339 Timestamp - endTime: RFC3339 Timestamp @@ -910,8 +910,8 @@ class GCENodeDriver(NodeDriver): :param name: Name of health check :type name: ``str`` - :keyword host: Hostname of health check requst. Defaults to empty and - public IP is used instead. + :keyword host: Hostname of health check request. Defaults to empty + and public IP is used instead. :type host: ``str`` :keyword path: The request path for the check. Defaults to /. @@ -1118,7 +1118,7 @@ class GCENodeDriver(NodeDriver): :keyword ex_network: The network to associate with the node. :type ex_network: ``str`` or :class:`GCENetwork` - :keyword ex_tags: A list of tags to assiciate with the node. + :keyword ex_tags: A list of tags to associate with the node. :type ex_tags: ``list`` of ``str`` or ``None`` :keyword ex_metadata: Metadata dictionary for instance. @@ -1752,7 +1752,7 @@ class GCENodeDriver(NodeDriver): :keyword ex_network: The network to associate with the node. :type ex_network: ``str`` or :class:`GCENetwork` - :keyword ex_tags: A list of tags to assiciate with the node. + :keyword ex_tags: A list of tags to associate with the node. :type ex_tags: ``list`` of ``str`` or ``None`` :return: A Node object for the new node. @@ -2077,7 +2077,7 @@ class GCENodeDriver(NodeDriver): :param snapshot: Snapshot object to destroy :type snapshot: :class:`GCESnapshot` - :return: True if successfull + :return: True if successful :rtype: ``bool`` """ request = '/global/snapshots/%s' % (snapshot.name) @@ -2467,7 +2467,7 @@ class GCENodeDriver(NodeDriver): image. :type partial_name: ``str`` - :return: The latest image object that maches the partial name or None + :return: The latest image object that matches the partial name or None if no matching image is found. :rtype: :class:`NodeImage` or ``None`` """ @@ -2527,7 +2527,7 @@ class GCENodeDriver(NodeDriver): external_ip='ephemeral'): """ Returns a request and body to create a new node. This is a helper - method to suppor both :class:`create_node` and + method to support both :class:`create_node` and :class:`ex_create_multiple_nodes`. :param name: The name of the node to create. @@ -2546,7 +2546,7 @@ class GCENodeDriver(NodeDriver): :param network: The network to associate with the node. :type network: :class:`GCENetwork` - :keyword tags: A list of tags to assiciate with the node. + :keyword tags: A list of tags to associate with the node. :type tags: ``list`` of ``str`` :keyword metadata: Metadata dictionary for instance. @@ -2757,7 +2757,7 @@ class GCENodeDriver(NodeDriver): :keyword image: Image to create disk from. :type image: :class:`NodeImage` or ``str`` or ``None`` - :return: Tuple containg the request string, the data dictionary and + :return: Tuple containing the request string, the data dictionary and the URL parameters :rtype: ``tuple`` """