summaryrefslogtreecommitdiffstats
path: root/events
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2017-01-19 12:23:00 +0530
committerJeff Darcy <jdarcy@redhat.com>2017-01-19 12:37:08 -0800
commit4e11d50f3f803e685c844da1f168a633c3834fd0 (patch)
tree273c6b9a0c4c02e4e57e5c2ccd761dab4154f513 /events
parentd93a6691538270aefe7703e8f8d7c822f53528e5 (diff)
gluster: Typos in logs and comments
Replaced 'recieve' with 'receive'. Change-Id: I4c1c9147db5437feb81e4c83ed074440aaa28e07 BUG: 1414645 Signed-off-by: N Balachandran <nbalacha@redhat.com> Reviewed-on: http://review.gluster.org/16429 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Manikandan Selvaganesh <manikandancs333@gmail.com> Tested-by: Manikandan Selvaganesh <manikandancs333@gmail.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'events')
-rw-r--r--events/src/glustereventsd.py4
-rw-r--r--events/src/handlers.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/events/src/glustereventsd.py b/events/src/glustereventsd.py
index 4b56eee9131..606b89cbd7f 100644
--- a/events/src/glustereventsd.py
+++ b/events/src/glustereventsd.py
@@ -57,9 +57,9 @@ class GlusterEventsRequestHandler(SocketServer.BaseRequestHandler):
continue
try:
- # Event Type to Function Map, Recieved event data will be in
+ # Event Type to Function Map, Received event data will be in
# the form <TIMESTAMP> <TYPE> <DETAIL>, Get Event name for the
- # recieved Type/Key and construct a function name starting with
+ # received Type/Key and construct a function name starting with
# handle_ For example: handle_event_volume_create
func_name = "handle_" + all_events[int(key)].lower()
except IndexError:
diff --git a/events/src/handlers.py b/events/src/handlers.py
index 21d3e83de54..7746d488bf3 100644
--- a/events/src/handlers.py
+++ b/events/src/handlers.py
@@ -23,7 +23,7 @@ def generic_handler(ts, key, data):
def handle_event_volume_set(ts, key, data):
"""
- Recieved data will have all the options as one string, split into
+ Received data will have all the options as one string, split into
list of options. "key1,value1,key2,value2" into
[[key1, value1], [key2, value2]]
"""