1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00

Fixed new Url

This commit is contained in:
patrickkusebauch
2020-12-12 22:21:42 +01:00
parent 76639ef02b
commit 79d12135dd

View File

@@ -288,7 +288,7 @@ class ElasticaHandlerTest extends TestCase
protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId) protected function getDocSourceFromElastic(Client $client, $index, $type, $documentId)
{ {
if($type === null) { if($type === null) {
$path = "/{$index}/{$documentId}"; $path = "/{$index}/_doc/{$documentId}";
} else { } else {
$path = "/{$index}/{$type}/{$documentId}"; $path = "/{$index}/{$type}/{$documentId}";
} }