Skip to content

Commit

Permalink
adding adjustment to route c of manage_versions (#2307)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3c97d34)
  • Loading branch information
terrancedejesus authored and github-actions[bot] committed Sep 19, 2022
1 parent 9171d34 commit 5da6185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detection_rules/version_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def log_changes(r, route_taken, new_rule_version, *msg):
f'exceed the max allowable version of {max_allowable_version}')

if info_from_rule != info_from_file:
lock_from_file["previous"][str(min_stack)] = lock_from_rule
lock_from_file["previous"][str(min_stack)].update(lock_from_rule)
new_version = lock_from_rule["version"]
log_changes(rule, route, 'unchanged',
f'previous version {min_stack} updated version to {new_version}')
Expand Down

0 comments on commit 5da6185

Please sign in to comment.