Skip to content

Commit 05a5c7e

Browse files
Fix error with mmanager_opts placed incorrectly.
1 parent 86c5e0a commit 05a5c7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/machinery/az.py

+3
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ def _initialize(self):
120120
@param module_name: module name
121121
@raise CuckooDependencyError: if there is a problem with the dependencies call
122122
"""
123+
mmanager_opts = self.options.get(self.module_name)
124+
if not isinstance(mmanager_opts["scale_sets"], list):
125+
mmanager_opts["scale_sets"] = str(mmanager_opts["scale_sets"]).strip().split(",")
123126
# Replace a list of IDs with dictionary representations
124127
scale_sets = mmanager_opts.pop("scale_sets")
125128
mmanager_opts["scale_sets"] = {}

0 commit comments

Comments
 (0)