diff --git a/qinling/config.py b/qinling/config.py index 9de8d09f..1b5695c9 100644 --- a/qinling/config.py +++ b/qinling/config.py @@ -102,7 +102,7 @@ STORAGE_GROUP = 'storage' storage_opts = [ cfg.StrOpt( 'file_system_dir', - help='Directory to store funtion packages.' + help='Directory to store function packages.' ), cfg.StrOpt( 'provider', diff --git a/qinling/orchestrator/kubernetes/manager.py b/qinling/orchestrator/kubernetes/manager.py index 02b0be30..4afa3118 100644 --- a/qinling/orchestrator/kubernetes/manager.py +++ b/qinling/orchestrator/kubernetes/manager.py @@ -238,7 +238,7 @@ class KubernetesManager(base.OrchestratorBase): 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 labels.update({'function_id': function_id}) service_body = self.service_template.render( @@ -258,7 +258,7 @@ class KubernetesManager(base.OrchestratorBase): 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() addresses = ret.items[0].status.addresses node_ip = None