Commit 378f3be
committed
[fix] Use continue instead of return in manage_devices_group_templates
The loop in manage_devices_group_templates used `return` when a device
had no config, which aborted processing of all remaining devices in
the batch. Changed to `continue` so that devices without a config are
skipped individually while the rest of the batch is still processed.
Fixes silent configuration drift when batch-changing device groups
where some devices lack a config object.1 parent f3c99c4 commit 378f3be
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
0 commit comments