Skip to content

Commit ebf0c42

Browse files
committed
fix: ensure path is a string
1 parent a5912d8 commit ebf0c42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/modules/mdd_combine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ def find_paths(d, path=[], list_key_map=None):
211211
def _find_paths(d, path=[]):
212212
if isinstance(d, dict):
213213
for k, v in d.items():
214-
merge_key = get_merge_key(":".join(path), list_key_map)
214+
merge_key = get_merge_key(":".join(str(path)), list_key_map)
215215
if merge_key:
216-
special_paths.append(("/:/".join(path), len(path)))
216+
special_paths.append(("/:/".join(str(path)), len(path)))
217217
_find_paths(v, path + [str(k)])
218218

219219
_find_paths(d)

0 commit comments

Comments
 (0)