Skip to content

Commit 0945212

Browse files
committed
Fix legacy use of action result
1 parent c4c691f commit 0945212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/get_secure_system_falco_rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# Return the result
3333
#
3434
if ok:
35-
sys.stdout.write(res[1]["systemRulesFile"]["content"])
35+
sys.stdout.write(res["systemRulesFile"]["content"])
3636
else:
3737
print(res)
3838
sys.exit(1)

0 commit comments

Comments
 (0)