Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
indy-independence committed Oct 28, 2024
1 parent c578cc4 commit 6b7e9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnaas_nms/db/git_worktrees.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def refresh_existing_templates_worktrees(by: str, job_id: int, group_settings: d
# find all devices that are using these branches and mark them as unsynchronized
updated_hostnames: List[str] = []
with sqla_session() as session:
for hostname, primary_group in device_primary_groups:
for hostname, primary_group in device_primary_groups.items():
if hostname in updated_hostnames:
continue
if primary_group in updated_groups:
Expand Down

0 comments on commit 6b7e9f7

Please sign in to comment.