Skip to content

Commit

Permalink
Removed the "invalid remote addr" log (#1543)
Browse files Browse the repository at this point in the history
Fixes #1538
  • Loading branch information
janzantinge authored Jul 22, 2020
1 parent 0a486d3 commit 42903b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions runtime/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"time"

"google.golang.org/grpc/codes"
"google.golang.org/grpc/grpclog"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"
)
Expand Down Expand Up @@ -128,8 +127,6 @@ func annotateContext(ctx context.Context, mux *ServeMux, req *http.Request) (con
} else {
pairs = append(pairs, strings.ToLower(xForwardedFor), fmt.Sprintf("%s, %s", fwd, remoteIP))
}
} else {
grpclog.Infof("invalid remote addr: %s", addr)
}
}

Expand Down

0 comments on commit 42903b1

Please sign in to comment.