Browse Source

Merge pull request #10346 from lsytj0413/fix-golint

refactor(*): fix golint warning
Gyuho Lee 7 years ago
parent
commit
deeb16c9e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      etcdserver/api/v3rpc/interceptor.go

+ 1 - 1
etcdserver/api/v3rpc/interceptor.go

@@ -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