Skip to content

Commit dbb58d2

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/get_secure_user_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]["userRulesFile"]["content"])
35+
sys.stdout.write(res["userRulesFile"]["content"])
3636
else:
3737
print(res)
3838
sys.exit(1)

0 commit comments

Comments
 (0)