mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Updated status.ping_master docstring
This commit is contained in:
parent
942b71b8b8
commit
52ba528c72
@ -833,9 +833,16 @@ def master(master=None, connected=True):
|
||||
|
||||
def ping_master(master):
|
||||
'''
|
||||
Sends ping request to the given master.
|
||||
Fires '__master_alive' event on success.
|
||||
.. versionadded:: 2016.3.0
|
||||
|
||||
Sends ping request to the given master. Fires '__master_alive' event on success.
|
||||
Returns bool result.
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' status.ping_master localhost
|
||||
'''
|
||||
if master is None or master == '':
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user