Merge pull request #10346 from lsytj0413/fix-golint

refactor(*): fix golint warning
This commit is contained in:
Gyuho Lee 2018-12-23 20:26:09 -08:00 committed by GitHub
commit deeb16c9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ func logUnaryRequestStats(ctx context.Context, lg *zap.Logger, info *grpc.UnaryS
if ok {
remote = peerInfo.Addr.String()
}
var responseType string = info.FullMethod
responseType := info.FullMethod
var reqCount, respCount int64
var reqSize, respSize int
var reqContent string