Skip to content

Commit 13babc6

Browse files
committed
fix non-constant format string
1 parent 9b944d6 commit 13babc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ func invokeRPC(ctx context.Context, methodName string, ch grpc.ClientConnInterfa
436436
req := input.Data[0]
437437
input.Data = input.Data[1:]
438438
if err := jsonpb.Unmarshal(bytes.NewReader(req), m); err != nil {
439-
return status.Errorf(codes.InvalidArgument, err.Error())
439+
return status.Error(codes.InvalidArgument, err.Error())
440440
}
441441
return nil
442442
}

0 commit comments

Comments
 (0)