Skip to content

Commit cb99c97

Browse files
authored
Fix clear bug in update_host_groups.py (#15)
clear command fails delete_all=True is missing
1 parent d187c6b commit cb99c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/update_host_groups.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def main(self):
158158
.format(self.options.id or self.options.name))
159159

160160
elif self.options.operation == 'clear': # clear all hostgroups
161-
self.appresponse.classification.bulk_delete()
161+
self.appresponse.classification.bulk_delete(delete_all=True)
162162
print("Successfully cleared all hostgroups")
163163

164164

0 commit comments

Comments
 (0)