fix spelling mistakes

Change-Id: I9a50a33c21d2a77e2ca6f5df4005eab5b827f094
This commit is contained in:
Eyal 2016-03-20 13:59:28 +02:00
parent 040e7e29d4
commit b83b887c05
8 changed files with 8 additions and 8 deletions

View File

@ -215,7 +215,7 @@ if is_service_enabled vitrage; then
preinstall_vitrage
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing Vitrage"
# Use stack_install_service here to account for vitualenv
# Use stack_install_service here to account for virtualenv
stack_install_service vitrage
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring Vitrage"

View File

@ -40,7 +40,7 @@ class Processor(processor.ProcessorBase):
def process_event(self, event):
"""Decides which action to run on given event
Transforms the event into a tupple (vertex, neighbors,action).
Transforms the event into a tuple (vertex, neighbors,action).
After transforming, it runs the correct action according to the
action received from the transformer.

View File

@ -120,4 +120,4 @@ def _convert_alarm(alarm):
elif alarm_type == AodhProps.THRESHOLD:
return AodhSynchronizer._convert_threshold_alarm(alarm)
else:
LOG.info('Unsopported Aodh alarm of type %s' % alarm_type)
LOG.info('Unsupported Aodh alarm of type %s' % alarm_type)

View File

@ -122,7 +122,7 @@ class TransformerBase(object):
by synchronizer
:param entity_event: an event provided by synchronizer
:return: neigbors - a list of neighbors
:return: neighbors - a list of neighbors
:rtype:[]
"""

View File

@ -81,7 +81,7 @@ class ChangesService(SynchronizerService):
callback=self._get_changes,
initial_delay=self.changes_interval)
LOG.info("Vitrage Synchronizer Changes Service For: %s - Strarted!",
LOG.info("Vitrage Synchronizer Changes Service For: %s - Started!",
self.registered_plugins[0].__class__.__name__)
def stop(self, graceful=False):

View File

@ -106,7 +106,7 @@ class BasicTemplateTest(base.BaseTest):
"""Validates scenario parsing
Expects to single scenario:
1. condition consitsts from one variable (type EdgeDescription)
1. condition consists from one variable (type EdgeDescription)
2. Actions - set state action
:param scenarios: parsed scenarios
:param scenarios_definition:

View File

@ -96,7 +96,7 @@ class GraphTest(GraphTestBase):
# Get it again
v = g.get_vertex(v_node.vertex_id)
self.assertFalse('KUKU' in v.properties,
'Update value to None should entirly remove the key')
'Update value to None should entirely remove the key')
# check metadata
another_vertex = utils.create_vertex(

View File

@ -31,7 +31,7 @@ class NagiosSynchronizerTest(NagiosBaseTest):
cfg.StrOpt('config_file',
default=utils.get_resources_dir() +
'/nagios/nagios_conf.yaml',
help='Nagios configuation file'
help='Nagios configuration file'
),
]