Fixed some typos in the files

dirrect => direct
sample => simple
and some typos in description of functions

Change-Id: Id175ea43554f380e2b5b3f053178c44b70ac842c
Closes-Bug: #1490141
This commit is contained in:
venkatamahesh 2015-08-29 21:09:20 +05:30
parent 05cf237910
commit cdc844ff46
4 changed files with 8 additions and 8 deletions

View File

@ -17,7 +17,7 @@
There is a lot of situation when we would like to work with Enum or consts.
E.g. work around Tasks. We would like to use Enum in DB to store status of task
and also in migration that creates DB and in business logic to set some status
so to avoid copy paste or dirrect usage of enums values we create singltons
so to avoid copy paste or direct usage of enums values we create singltons
for each enum. (e.g TaskStatus)
"""

View File

@ -33,7 +33,7 @@ class HeatStacks(utils.HeatScenario):
@scenario.configure(context={"cleanup": ["heat"]})
def create_and_list_stack(self, template_path, parameters=None,
files=None, environment=None):
"""Add a stack and then list all stacks.
"""Create a stack and then list all stacks.
Measure the "heat stack-create" and "heat stack-list" commands
performance.
@ -64,7 +64,7 @@ class HeatStacks(utils.HeatScenario):
@scenario.configure(context={"cleanup": ["heat"]})
def create_and_delete_stack(self, template_path, parameters=None,
files=None, environment=None):
"""Add and then delete a stack.
"""Create and then delete a stack.
Measure the "heat stack-create" and "heat stack-delete" commands
performance.
@ -115,7 +115,7 @@ class HeatStacks(utils.HeatScenario):
parameters=None, updated_parameters=None,
files=None, updated_files=None,
environment=None, updated_environment=None):
"""Add, update and then delete a stack.
"""Create, update and then delete a stack.
Measure the "heat stack-create", "heat stack-update"
and "heat stack-delete" commands performance.

View File

@ -36,7 +36,7 @@ class SaharaNodeGroupTemplates(utils.SaharaScenario):
This scenario creates two Node Group Templates with different set of
node processes. The master Node Group Template contains Hadoop's
management processes. The worker Node Group Template contains
Haddop's worker processes.
Hadoop's worker processes.
By default the templates are created for the vanilla Hadoop
provisioning plugin using the version 1.2.1

View File

@ -21,7 +21,7 @@ from rally import exceptions
def mean(values):
"""Find the simple average of a list of values.
"""Find the simple mean of a list of values.
:parameter values: non-empty list of numbers
@ -34,7 +34,7 @@ def mean(values):
def median(values):
"""Find the sample median of a list of values.
"""Find the simple median of a list of values.
:parameter values: non-empty list of numbers
@ -149,7 +149,7 @@ def compress(data, limit=1000, merge=None, normalize=None):
class GraphZipper(object):
def __init__(self, base_size, zipped_size=1000):
"""Init graph ziper.
"""Init graph zipper.
:param base_size: Amount of points in raw graph
:param zip_size: Amount of points that should be in zipped graph