From d2216a3df8d990359af49f35777f0673c91f9809 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 25 Jun 2019 17:31:08 +0200 Subject: [PATCH] adapters: add missing argument to log (#34333) --- mellon/adapters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mellon/adapters.py b/mellon/adapters.py index cd7e190..7e1a6d7 100644 --- a/mellon/adapters.py +++ b/mellon/adapters.py @@ -189,7 +189,7 @@ class DefaultAdapter(object): # emit an error if cache is too old stale_timeout = 24 * metadata_cache_time if last_update and (now - idp['METADATA_URL_LAST_UPDATE']) > stale_timeout: - logger.error('metadata url %s : not updated since %.1f hours', + logger.error('metadata url %s : not updated since %.1f hours', url, stale_timeout / 3600.0) # we have cache, update in background -- 2.20.1