Move the new params parameter to the end to avoid breaking backward compatibility
This commit is contained in:
parent
84749a2631
commit
6047300259
@ -10,7 +10,7 @@ from urlparse import urlparse
|
||||
|
||||
|
||||
@contextmanager
|
||||
def metrics(function, service_config, params=None, logger=None):
|
||||
def metrics(function, service_config, logger=None, params=None):
|
||||
try:
|
||||
start_time = time.time()
|
||||
yield
|
||||
|
Loading…
Reference in New Issue
Block a user