Skip to content

Commit 885ec8b

Browse files
fix(update): omit records without content in diff
1 parent d672fa2 commit 885ec8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def main():
188188
[
189189
"\t\t".join([r.name, r.typ, r.content])
190190
for r in target_state
191-
if r and r not in diff_set.delete
191+
if r and r.content is not None and r not in diff_set.delete
192192
]
193193
)
194194
+ "\n",

0 commit comments

Comments
 (0)