aws_log_forwarder: incrementing index for batches of records that could not be sent (#4188)

This commit is contained in:
ryandeivert 2018-03-09 13:28:14 -08:00 committed by Nick Anderson
parent 525f869325
commit 06117da0f1

View File

@ -104,6 +104,8 @@ class AwsLogForwarder : public BufferedLogForwarder {
const auto& record = *it;
const auto& raw_buffer = record.GetData();
index++;
std::string buffer(
reinterpret_cast<const char*>(raw_buffer.GetUnderlyingData()),
raw_buffer.GetLength());