Changes attribute to be public (#21490)

eom
This commit is contained in:
Tim Rupp 2017-02-15 14:48:31 -08:00 committed by John R Barker
parent 9baf95bcc4
commit 7869b543fa

View file

@ -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