mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
clean up docstrings for stats module
This commit is contained in:
parent
c8f0bea2b0
commit
36496f32de
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ import subprocess
|
|||
def uptime():
|
||||
'''
|
||||
Return the uptime for this minion
|
||||
|
||||
CLI Example:
|
||||
salt '*' stats.uptime
|
||||
'''
|
||||
return subprocess.Popen(['uptime'],
|
||||
stdout=subprocess.PIPE).communicate()[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue