diff --git a/src/main/python/ddadevops/c4k_mixin.py b/src/main/python/ddadevops/c4k_mixin.py index c6cbd1d..e59172f 100644 --- a/src/main/python/ddadevops/c4k_mixin.py +++ b/src/main/python/ddadevops/c4k_mixin.py @@ -25,7 +25,10 @@ class C4kMixin(DevopsBuild): def __generate_clojure_map(self, template_dict): clojure_map_str = '{' for key, value in template_dict.items(): - clojure_map_str += f':{key} "{value}"\n' + if type(value) is dict: + clojure_map_str += f':{key} {self.__generate_clojure_map(value)}\n' + else: + clojure_map_str += f':{key} "{value}"\n' clojure_map_str += '}' return clojure_map_str