Skip to content

Commit 580a343

Browse files
authored
Merge pull request #31 from mz-ko/master
Add empty dict process.
2 parents 9771ce3 + 863b927 commit 580a343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def collector_collect(params):
112112
options = params["options"]
113113
secret_data = params["secret_data"]
114114
schema = params.get("schema")
115-
task_options = params.get("task_options")
115+
task_options = params.get("task_options", {})
116116
resource_type = task_options.get("resource_type")
117117

118118
if resource_type == "inventory.CloudServiceType":

0 commit comments

Comments
 (0)