From 7869b543fab304f06f70e20e2dd1f1ddeab33b74 Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Wed, 15 Feb 2017 14:48:31 -0800 Subject: [PATCH] Changes attribute to be public (#21490) eom --- lib/ansible/module_utils/f5_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/f5_utils.py b/lib/ansible/module_utils/f5_utils.py index 0945b69f64..b56425f59d 100644 --- a/lib/ansible/module_utils/f5_utils.py +++ b/lib/ansible/module_utils/f5_utils.py @@ -293,7 +293,7 @@ class AnsibleF5Parameters(object): @classmethod def from_api(cls, params): - for key,value in iteritems(cls._api_param_map): + for key,value in iteritems(cls.api_param_map): params[key] = params.pop(value, None) p = cls(params) return p @@ -315,7 +315,7 @@ class AnsibleF5Parameters(object): def _api_params_from_map(self): result = dict() - pmap = self.__class__._api_param_map + pmap = self.__class__.api_param_map for k,v in iteritems(pmap): value = getattr(self, k) result[v] = value