Browse Source

etcdserver: Fix to backport of #9288 for pre-RequestV2 code

Joe Betz 7 years ago
parent
commit
065053d859
1 changed files with 0 additions and 5 deletions
  1. 0 5
      etcdserver/v2_server.go

+ 0 - 5
etcdserver/v2_server.go

@@ -123,8 +123,3 @@ func (s *EtcdServer) Do(ctx context.Context, r pb.Request) (Response, error) {
 	}
 	return Response{}, ErrUnknownMethod
 }
-
-func (r *RequestV2) String() string {
-	rpb := pb.Request(*r)
-	return rpb.String()
-}