diff --git a/openshift/helper/ansible.py b/openshift/helper/ansible.py index 8ae31e39..dd8b65df 100644 --- a/openshift/helper/ansible.py +++ b/openshift/helper/ansible.py @@ -271,7 +271,7 @@ def __add_path_to_dict(self, request_dict, param_name, param_value, path): local_path = copy.copy(path) spec = self.find_arg_spec(param_name) while len(local_path): - p = self.__property_name_to_camel(param_name, local_path.pop(0)) + p = string_utils.snake_case_to_camel(local_path.pop(0), upper_case_first=False) if len(local_path): if request_dict.get(p, None) is None: request_dict[p] = {}