Fix typo in novaclient

sapshot --> snapshot
messanges --> messages

Change-Id: I21d9f3bd02c435f92f8ba20e85898d7a11e6a0af
This commit is contained in:
wingwj 2014-02-25 14:17:35 +08:00
parent bd72fb0a2e
commit 5461af9c6c
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ class HTTPClient(object):
rql.addHandler(ch)
# Since we have already setup the root logger on debug, we
# have to set it up here on WARNING (its original level)
# otherwise we will get all the requests logging messanges
# otherwise we will get all the requests logging messages
rql.setLevel(logging.WARNING)
# requests within the same session can reuse TCP connections from pool
self.http = requests.Session()

View File

@ -316,7 +316,7 @@ def _boot(cs, args, reservation_id=None, min_count=None, max_count=None):
@utils.arg('--snapshot',
default=None,
metavar="<snapshot_id>",
help=_("Sapshot ID to boot from (will create a volume)."))
help=_("Snapshot ID to boot from (will create a volume)."))
@utils.arg('--num-instances',
default=None,
type=int,