From 8b4876f32a2e66bb2e1606a75dcc9a09ced43ab2 Mon Sep 17 00:00:00 2001 From: Greg Lange Date: Mon, 10 Feb 2014 14:31:14 +0000 Subject: [PATCH] Fix recon docs Change-Id: Icaa0f61e5796253dcc57b8c005577890de8aa537 --- swift/common/middleware/recon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swift/common/middleware/recon.py b/swift/common/middleware/recon.py index 26839d8101..357a431fd4 100644 --- a/swift/common/middleware/recon.py +++ b/swift/common/middleware/recon.py @@ -31,7 +31,7 @@ class ReconMiddleware(object): /recon/load|mem|async... will return various system metrics. - Needs to be added to the pipeline and a requires a filter + Needs to be added to the pipeline and requires a filter declaration in the object-server.conf: [filter:recon] @@ -65,7 +65,7 @@ class ReconMiddleware(object): :params cache_keys: list of cache items to retrieve :params cache_file: cache file to retrieve items from. :params openr: open to use [for unittests] - :return: dict of cache items and their value or none if not found + :return: dict of cache items and their values or none if not found """ try: with openr(cache_file, 'r') as f: