mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Fixed new Url
This commit is contained in:
@@ -288,7 +288,7 @@ class ElasticaHandlerTest extends TestCase
|
||||
protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
|
||||
{
|
||||
if($type === null) {
|
||||
$path = "/{$index}/{$documentId}";
|
||||
$path = "/{$index}/_doc/{$documentId}";
|
||||
} else {
|
||||
$path = "/{$index}/{$type}/{$documentId}";
|
||||
}
|
||||
|
Reference in New Issue
Block a user