Re-adding the needed call to FinishedRotation in the ES writer plugin.

This commit is contained in:
Seth Hall 2012-07-10 23:49:31 -04:00
parent 728888ad45
commit 6e5382da54

View file

@ -296,10 +296,10 @@ bool ElasticSearch::DoRotate(string rotated_path, double open, double close, boo
//HTTPSend(curl_handle);
}
//if ( ! FinishedRotation(current_index, prev_index, open, close, terminating) )
// {
// Error(Fmt("error rotating %s to %s", prev_index.c_str(), current_index.c_str()));
// }
if ( ! FinishedRotation(current_index, prev_index, open, close, terminating) )
{
Error(Fmt("error rotating %s to %s", prev_index.c_str(), current_index.c_str()));
}
return true;
}