Skip to content

Commit f28295d

Browse files
authored
chore: rm blank line
1 parent cd96ecd commit f28295d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apisix/plugins/prometheus/exporter.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,6 @@ local function exporter_timer(premature, yieldable, cache_exptime)
562562

563563
-- Clear the cached data after cache_exptime to prevent stale data in case of an error.
564564
local _, err, forcible = shdict_prometheus_cache:set(CACHED_METRICS_KEY, res, cache_exptime)
565-
566565
if err then
567566
core.log.error("Failed to save metrics to the `prometheus-cache` shared dict: ", err,
568567
". The size of the value being attempted to be saved is: ", #res)

0 commit comments

Comments
 (0)