Skip to content

Commit ef47e28

Browse files
Fix field name (#3802)
1 parent 949e616 commit ef47e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daprovider/data_streaming/receiver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func NewDefaultDataStreamReceiver(verifier *PayloadVerifier) *DataStreamReceiver
8686
// StartStreamingResult is expected by DataStreamer to be returned by the endpoint responsible for the StartReceiving method.
8787
// lint:require-exhaustive-initialization
8888
type StartStreamingResult struct {
89-
MessageId hexutil.Uint64 `json:"MessageId,omitempty"`
89+
MessageId hexutil.Uint64 `json:"BatchId,omitempty"` // For compatibility reasons we keep the old name "BatchId"
9090
}
9191

9292
func (dsr *DataStreamReceiver) StartReceiving(ctx context.Context, timestamp, nChunks, chunkSize, totalSize, timeout uint64, signature []byte) (*StartStreamingResult, error) {

0 commit comments

Comments
 (0)