From 94fe4929c8042c736ce3b6cf6468dd1bf6072f16 Mon Sep 17 00:00:00 2001 From: Mark Bell Date: Wed, 18 Nov 2015 20:23:06 -0500 Subject: [PATCH] Fix regression in multi fetch handling --- graphite_api/render/datalib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphite_api/render/datalib.py b/graphite_api/render/datalib.py index fe07605..dc7c3df 100644 --- a/graphite_api/render/datalib.py +++ b/graphite_api/render/datalib.py @@ -159,7 +159,7 @@ def fetchData(requestContext, pathExprs): time_info, series = finder.fetch_multi(nodes, startTime, endTime) for path, values in series.items(): data_store.add_data(path, time_info, values, - path_to_exprs[node.path]) + path_to_exprs[path]) # Single fetches fetches = [