Merge "Fix some nits or typos found by chance"
This commit is contained in:
commit
f856d3c915
@ -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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user