mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fix docstring for get_bufsize #29235
This commit is contained in:
parent
52fb80cd18
commit
77950eb55c
@ -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…
Reference in New Issue
Block a user