Revert " channelz: stage 4 - add security and socket option info" (#2124)

Reverts grpc/grpc-go#2098

Appengine will fail with the error below:
```
go-app-builder: Failed parsing input: parser: bad import "syscall" in google.golang.org/grpc/channelz/funcs.go from GOPATH
```

The root cause of it is in type_linux.go.
629f6bc5e5/channelz/types_linux.go (L21-L25)
This commit is contained in:
lyuxuan
2018-06-05 18:04:12 -07:00
committed by Menghan Li
parent 629f6bc5e5
commit 96cefb43cf
24 changed files with 73 additions and 1121 deletions

View File

@ -481,8 +481,7 @@ type listenSocket struct {
func (l *listenSocket) ChannelzMetric() *channelz.SocketInternalMetric {
return &channelz.SocketInternalMetric{
SocketOptions: channelz.GetSocketOption(l.Listener),
LocalAddr: l.Listener.Addr(),
LocalAddr: l.Listener.Addr(),
}
}