mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix function headers as per #38499
This commit is contained in:
parent
9a1550d336
commit
62bee3c793
2 changed files with 3 additions and 3 deletions
|
@ -370,7 +370,7 @@ def cli(*commands):
|
|||
# in case of errors, they'll be catched in the proxy
|
||||
|
||||
|
||||
def traceroute(destination, source='', ttl=0, timeout=0):
|
||||
def traceroute(destination, source=None, ttl=None, timeout=None):
|
||||
|
||||
'''
|
||||
Calls the method traceroute from the NAPALM driver object and returns a dictionary with the result of the traceroute
|
||||
|
@ -400,7 +400,7 @@ def traceroute(destination, source='', ttl=0, timeout=0):
|
|||
)
|
||||
|
||||
|
||||
def ping(destination, source='', ttl=0, timeout=0, size=0, count=0):
|
||||
def ping(destination, source=None, ttl=None, timeout=None, size=None, count=None):
|
||||
|
||||
'''
|
||||
Executes a ping on the network device and returns a dictionary as a result.
|
||||
|
|
|
@ -68,7 +68,7 @@ def __virtual__():
|
|||
# ----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
def show(destination, protocol):
|
||||
def show(destination, protocol=None):
|
||||
|
||||
'''
|
||||
Displays all details for a certain route learned via a specific protocol.
|
||||
|
|
Loading…
Add table
Reference in a new issue