summaryrefslogtreecommitdiff
path: root/plugins/http/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/handler.go')
-rw-r--r--plugins/http/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/handler.go b/plugins/http/handler.go
index b7c6f1fa..d3c928aa 100644
--- a/plugins/http/handler.go
+++ b/plugins/http/handler.go
@@ -176,7 +176,7 @@ func (h *Handler) sendEvent(event interface{}) {
// get real ip passing multiple proxy
func (h *Handler) resolveIP(r *Request) {
- if h.trusted.IsTrusted(r.RemoteAddr) == false {
+ if h.trusted.IsTrusted(r.RemoteAddr) == false { //nolint:gosimple
return
}