From 4f5858b6f9a6052cb381bfdf92b7baa7c8c87438 Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Thu, 4 Feb 2016 06:00:28 +0530 Subject: [PATCH] Fix spell typo Change-Id: Id524e2f777bb8d13329c4bc65e7738f2e0668329 --- doc/source/elasticsearch.rst | 2 +- searchlight/cmd/manage.py | 2 +- .../elasticsearch/plugins/designate/notification_handlers.py | 2 +- searchlight/tests/functional/mock_glance_pyclient.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/elasticsearch.rst b/doc/source/elasticsearch.rst index 351f6e52..41a4fb4e 100644 --- a/doc/source/elasticsearch.rst +++ b/doc/source/elasticsearch.rst @@ -106,7 +106,7 @@ Scripts ####### The scripting module allows to use scripts in order to evaluate custom expressions. Scripting is turned off by default in elasticsearch latest versions. -Searchlight doesnt allow scripts in the search api but requires scripts to sync Index updates +Searchlight doesn't allow scripts in the search api but requires scripts to sync Index updates from notifications. For security purpose index updates are allowed only for admin role:: script.engine.groovy.inline.update: on diff --git a/searchlight/cmd/manage.py b/searchlight/cmd/manage.py index ef94d2c4..83ecfdbd 100644 --- a/searchlight/cmd/manage.py +++ b/searchlight/cmd/manage.py @@ -47,7 +47,7 @@ class IndexCommands(object): @args('--index', metavar='', dest='index', help='Index only this index (or a comma separated list)') @args('--type', metavar='', dest='_type', - help='Index only this type (or a comma seperated list)') + help='Index only this type (or a comma separated list)') @args('--force', dest='force', action='store_true', help="Don't prompt (answer 'y')") @args('--no-delete', dest='clear', action='store_false', diff --git a/searchlight/elasticsearch/plugins/designate/notification_handlers.py b/searchlight/elasticsearch/plugins/designate/notification_handlers.py index 252dfb79..680f4836 100644 --- a/searchlight/elasticsearch/plugins/designate/notification_handlers.py +++ b/searchlight/elasticsearch/plugins/designate/notification_handlers.py @@ -63,7 +63,7 @@ class DomainHandler(base.NotificationBase): ctxt, publisher_id, event_type, payload, metadata) try: # NOTE: So if this is a initial zone we need to index the SOA / NS - # records it will have. Let's do this when recieving the create + # records it will have. Let's do this when receiving the create # event. if event_type == 'dns.domain.create': if handled != oslo_messaging.NotificationResult.HANDLED: diff --git a/searchlight/tests/functional/mock_glance_pyclient.py b/searchlight/tests/functional/mock_glance_pyclient.py index f1d05a9b..ca47b48b 100644 --- a/searchlight/tests/functional/mock_glance_pyclient.py +++ b/searchlight/tests/functional/mock_glance_pyclient.py @@ -62,7 +62,7 @@ class FakeNamespace(dict): def __init__(self, **kwargs): super(FakeNamespace, self).__init__(**kwargs) - # Actual glance client doesnt return all the fields while listing the + # Actual glance client doesn't return all the fields while listing the # namespaces. Simulate the similar behaviour by keeping a copy of the # field as private for future retrieval during individual get() on # a single namespace