Merge "Fix some nits or typos found by chance"

This commit is contained in:
Jenkins 2014-11-03 17:00:31 +00:00 committed by Gerrit Code Review
commit f856d3c915
4 changed files with 7 additions and 7 deletions

View File

@ -43,7 +43,7 @@ class Connection(pymongo_base.Connection):
# NOTE(jd) Use our own connection pooling on top of the Pymongo one.
# We need that otherwise we overflow the MongoDB instance with new
# connection since we instanciate a Pymongo client each time someone
# connection since we instantiate a Pymongo client each time someone
# requires a new storage connection.
self.conn = self.CONNECTION_POOL.connect(url)
@ -58,7 +58,7 @@ class Connection(pymongo_base.Connection):
connection_options['password'])
# NOTE(jd) Upgrading is just about creating index, so let's do this
# on connection to be sure at least the TTL is correcly updated if
# on connection to be sure at least the TTL is correctly updated if
# needed.
self.upgrade()

View File

@ -27,7 +27,7 @@ class Connection(pymongo_base.Connection):
# NOTE(jd) Use our own connection pooling on top of the Pymongo one.
# We need that otherwise we overflow the MongoDB instance with new
# connection since we instanciate a Pymongo client each time someone
# connection since we instantiate a Pymongo client each time someone
# requires a new storage connection.
self.conn = self.CONNECTION_POOL.connect(url)
@ -42,7 +42,7 @@ class Connection(pymongo_base.Connection):
connection_options['password'])
# NOTE(jd) Upgrading is just about creating index, so let's do this
# on connection to be sure at least the TTL is correcly updated if
# on connection to be sure at least the TTL is correctly updated if
# needed.
self.upgrade()

View File

@ -70,7 +70,7 @@ class NodesDiscoveryTripleO(plugin.DiscoveryBase):
resources.append(resource)
except KeyError:
LOG.error(_("Couldn't obtain IP address of"
LOG.error(_("Couldn't obtain IP address of "
"instance %s") % instance.id)
return resources

View File

@ -390,7 +390,7 @@ class Connection(pymongo_base.Connection):
# NOTE(jd) Use our own connection pooling on top of the Pymongo one.
# We need that otherwise we overflow the MongoDB instance with new
# connection since we instanciate a Pymongo client each time someone
# connection since we instantiate a Pymongo client each time someone
# requires a new storage connection.
self.conn = self.CONNECTION_POOL.connect(url)
@ -405,7 +405,7 @@ class Connection(pymongo_base.Connection):
connection_options['password'])
# NOTE(jd) Upgrading is just about creating index, so let's do this
# on connection to be sure at least the TTL is correcly updated if
# on connection to be sure at least the TTL is correctly updated if
# needed.
self.upgrade()