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 2013/08/15 16:46:48 UTC
git commit: docs: Be consistent and use lowercase name.
Updated Branches:
refs/heads/trunk fc0c2387a -> 6f430e1ca
docs: Be consistent and use lowercase name.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6f430e1c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6f430e1c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6f430e1c
Branch: refs/heads/trunk
Commit: 6f430e1ca7b06aaffc724d385efb169e3521e6e7
Parents: fc0c238
Author: Tomaz Muraus <to...@apache.org>
Authored: Thu Aug 15 16:46:28 2013 +0200
Committer: Tomaz Muraus <to...@apache.org>
Committed: Thu Aug 15 16:46:28 2013 +0200
----------------------------------------------------------------------
docs/examples/compute/register_3rd_party_driver.py | 4 ++--
docs/other/registering-a-third-party-driver.rst | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6f430e1c/docs/examples/compute/register_3rd_party_driver.py
----------------------------------------------------------------------
diff --git a/docs/examples/compute/register_3rd_party_driver.py b/docs/examples/compute/register_3rd_party_driver.py
index ea5c458..c8dab05 100644
--- a/docs/examples/compute/register_3rd_party_driver.py
+++ b/docs/examples/compute/register_3rd_party_driver.py
@@ -2,10 +2,10 @@ from libcloud.compute.providers import get_driver
from libcloud.compute.providers import set_driver
-set_driver('STRATUSLAB',
+set_driver('stratuslab',
'stratuslab.libcloud.stratuslab_driver',
'StratusLabNodeDriver')
# Your code which uses the driver.
# For example:
-driver = get_driver('STRATUSLAB')
+driver = get_driver('stratuslab')
http://git-wip-us.apache.org/repos/asf/libcloud/blob/6f430e1c/docs/other/registering-a-third-party-driver.rst
----------------------------------------------------------------------
diff --git a/docs/other/registering-a-third-party-driver.rst b/docs/other/registering-a-third-party-driver.rst
index c702692..bc75185 100644
--- a/docs/other/registering-a-third-party-driver.rst
+++ b/docs/other/registering-a-third-party-driver.rst
@@ -13,7 +13,7 @@ is used.
.. code-block:: python
- set_driver('PROVIDER_NAME', 'path.to.the.module', 'DriverClass')
+ set_driver('provider_name', 'path.to.the.module', 'DriverClass')
For example: