From 409211de9f547acd7949fbacd4b328063ae3efde Mon Sep 17 00:00:00 2001 From: Eric Brown Date: Thu, 1 Sep 2016 19:17:53 -0700 Subject: [PATCH] Typo: key_manger_factory to key_mangler_factory Trivial typo in the name of the key mangler factory. Change-Id: I2602c6575b81545f0dbe8cdfc06eb0c89bfb2195 --- keystone/common/cache/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keystone/common/cache/core.py b/keystone/common/cache/core.py index b95ddf2fa8..19690307aa 100644 --- a/keystone/common/cache/core.py +++ b/keystone/common/cache/core.py @@ -77,7 +77,7 @@ class DistributedInvalidationStrategy(region.RegionInvalidationStrategy): return False -def key_manger_factory(invalidation_manager, orig_key_mangler): +def key_mangler_factory(invalidation_manager, orig_key_mangler): def key_mangler(key): # NOTE(dstanek): Since *all* keys go through the key mangler we # need to make sure the region keys don't get the region_id added. @@ -129,7 +129,7 @@ def configure_cache(region=None): region_manager = RegionInvalidationManager( CACHE_INVALIDATION_REGION, region.name) - region.key_mangler = key_manger_factory( + region.key_mangler = key_mangler_factory( region_manager, region.key_mangler) region.region_invalidator = DistributedInvalidationStrategy( region_manager)