[Trivialfix]Fix typos in qinling

Fix all the typos found in qinling.

Change-Id: Id3dbfd9b5280ad6ed1ca6d3400a9a00a925e186a
This commit is contained in:
shangxiaobj 2017-08-13 19:04:44 -07:00
parent 12fe9211f3
commit a3e95af382
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ STORAGE_GROUP = 'storage'
storage_opts = [ storage_opts = [
cfg.StrOpt( cfg.StrOpt(
'file_system_dir', 'file_system_dir',
help='Directory to store funtion packages.' help='Directory to store function packages.'
), ),
cfg.StrOpt( cfg.StrOpt(
'provider', 'provider',

View File

@ -238,7 +238,7 @@ class KubernetesManager(base.OrchestratorBase):
LOG.debug('Labels updated for pod %s', name) LOG.debug('Labels updated for pod %s', name)
# Create service for the choosen pod. # Create service for the chosen pod.
service_name = "service-%s" % function_id service_name = "service-%s" % function_id
labels.update({'function_id': function_id}) labels.update({'function_id': function_id})
service_body = self.service_template.render( service_body = self.service_template.render(
@ -258,7 +258,7 @@ class KubernetesManager(base.OrchestratorBase):
name, service_name, node_port name, service_name, node_port
) )
# Get external ip address for an arbitary node. # Get external ip address for an arbitrary node.
ret = self.v1.list_node() ret = self.v1.list_node()
addresses = ret.items[0].status.addresses addresses = ret.items[0].status.addresses
node_ip = None node_ip = None