[bug] Current stack version in deprecation lock missing parens (#1618)

The function was not being properly called, leading to `null` values
This commit is contained in:
Justin Ibarra
2021-11-16 00:18:27 -09:00
committed by GitHub
parent 76503e8bcd
commit bd9e33e761
+1 -1
View File
@@ -146,7 +146,7 @@ class VersionLock:
if rule.id in newly_deprecated:
current_deprecated_lock[rule.id] = {
"rule_name": rule.name,
"stack_version": current_stack_version,
"stack_version": current_stack_version(),
"deprecation_date": rule.contents.metadata['deprecation_date']
}