Fix presense typo in event tag

This commit is contained in:
Henrik Holmboe 2013-12-07 08:34:49 +01:00
parent 6ab8c0885a
commit 8638fb1f60
2 changed files with 3 additions and 3 deletions

View File

@ -267,9 +267,9 @@ class Master(SMaster):
# Fire new minions present event
data = {'new': list(new),
'lost': list(lost)}
event.fire_event(data, tagify('change', 'presense'))
event.fire_event(data, tagify('change', 'presence'))
data = {'present': present}
event.fire_event(data, tagify('present', 'presense'))
event.fire_event(data, tagify('present', 'presence'))
old_present = present
try:
time.sleep(loop_interval)

View File

@ -133,7 +133,7 @@ def up(): # pylint: disable=C0103
def present():
'''
Print a list of all minions that are up according to Salt's presense
Print a list of all minions that are up according to Salt's presence
detection, no commands will be sent
CLI Example: