Move the new params parameter to the end to avoid breaking backward compatibility

This commit is contained in:
Mario de Frutos 2018-01-10 12:41:08 +01:00
parent 84749a2631
commit 6047300259

View File

@ -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