aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-14 15:41:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-14 15:41:10 +0000
commitfb57af27e97bbd27e5eeeeddc766518e3c700f3c (patch)
tree331677612211a9dcdaa537583558bea103f008ce
parent1857c4f37c9d371ddd48eb4d97a379c7c81c18e7 (diff)
parent89280110f650434d0036452583edce4b8eb0a156 (diff)
Merge "cli: typo, s/dispath/dispatch/g"
-rw-r--r--yardstick/cmd/cli.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yardstick/cmd/cli.py b/yardstick/cmd/cli.py
index d2c49e89b..67ce11451 100644
--- a/yardstick/cmd/cli.py
+++ b/yardstick/cmd/cli.py
@@ -133,13 +133,13 @@ class YardstickCLI(): # pragma: no cover
if CONF.debug:
_LOG_STREAM_HDLR.setLevel(logging.DEBUG)
- def _dispath_func_notask(self):
+ def _dispatch_func_notask(self):
# dispatch to category parser
func = CONF.category.func
func(CONF.category)
- def _dispath_func_task(self, task_id):
+ def _dispatch_func_task(self, task_id):
# dispatch to category parser
func = CONF.category.func
@@ -159,7 +159,7 @@ class YardstickCLI(): # pragma: no cover
self._handle_global_opts()
- self._dispath_func_notask()
+ self._dispatch_func_notask()
finally:
self._clear_config_opts()
@@ -172,6 +172,6 @@ class YardstickCLI(): # pragma: no cover
self._handle_global_opts()
- self._dispath_func_task(task_id)
+ self._dispatch_func_task(task_id)
finally:
self._clear_config_opts()