mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Fix presense typo in event tag
This commit is contained in:
parent
6ab8c0885a
commit
8638fb1f60
@ -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)
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user