mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix docstring for get_bufsize #29235
This commit is contained in:
parent
52fb80cd18
commit
77950eb55c
1 changed files with 2 additions and 2 deletions
|
@ -1158,13 +1158,13 @@ def _get_bufsize_linux(iface):
|
|||
|
||||
def get_bufsize(iface):
|
||||
'''
|
||||
Return network buffer sizes as a dict
|
||||
Return network buffer sizes as a dict (currently linux only)
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' network.getbufsize
|
||||
salt '*' network.ge_tbufsize
|
||||
'''
|
||||
if __grains__['kernel'] == 'Linux':
|
||||
if os.path.exists('/sbin/ethtool'):
|
||||
|
|
Loading…
Add table
Reference in a new issue