Skip to content

Commit

Permalink
Do not log the URL object, instead the string of it.
Browse files Browse the repository at this point in the history
  • Loading branch information
blaubaer committed Mar 31, 2020
1 parent 96c95a7 commit e97abac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (instance Upstream) AsMap(r rules.Rule) map[string]interface{} {
}
if req := instance.Request; req != nil {
if u := req.URL; u != nil {
buf["url"] = u
buf["url"] = u.String()
}
buf["method"] = req.Method
buf["proto"] = req.Proto
Expand Down

0 comments on commit e97abac

Please sign in to comment.