Skip to content

Commit 6bef50b

Browse files
author
Matt Desmarais
committed
fix: ensure stream is closed and wait for server response
1 parent 7ba184c commit 6bef50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/file/file_service_operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ func (fso *FileServiceOperator) sendFileUpdateStreamChunks(
539539
chunkID++
540540
}
541541

542-
// Ensure the stream is properly closed and wait for the server's response
542+
// Ensure the stream is closed and wait for the server's response only
543543
// after all chunks are sent
544544
_, err = updateFileStreamClient.CloseAndRecv()
545545
return err

0 commit comments

Comments
 (0)