Populate host value from GetSourceIP directly (#7417)

This commit is contained in:
Harshavardhana
2019-03-25 11:45:42 -07:00
committed by GitHub
parent 0a44e70177
commit e0a87e96de
5 changed files with 13 additions and 96 deletions

View File

@@ -839,7 +839,6 @@ type eventArgs struct {
ReqParams map[string]string
RespElements map[string]string
Host string
Port string
UserAgent string
}
@@ -894,7 +893,6 @@ func (args eventArgs) ToEvent() event.Event {
},
Source: event.Source{
Host: args.Host,
Port: args.Port,
UserAgent: args.UserAgent,
},
}