Skip to content

Commit

Permalink
Fix source.address not being set
Browse files Browse the repository at this point in the history
This is referencing a variable that doesn't exist, presumably copied from the access pipeline definition.
  • Loading branch information
chendo authored May 14, 2020
1 parent f90151c commit a790487
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ processors:
if: ctx.source?.address == null
value: ""
- script:
if: ctx.nginx?.access?.remote_ip_list != null && ctx.nginx.ingress_controller.remote_ip_list.length > 0
if: ctx.nginx?.ingress_controller?.remote_ip_list != null && ctx.nginx.ingress_controller.remote_ip_list.length > 0
lang: painless
source: >-
boolean isPrivate(def dot, def ip) {
Expand Down

0 comments on commit a790487

Please sign in to comment.