diff options
Diffstat (limited to 'events')
-rw-r--r-- | events/src/glustereventsd.py | 4 | ||||
-rw-r--r-- | events/src/handlers.py | 2 |
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]] """ |