Skip to content

Commit 24093b1

Browse files
committed
Update Ydb.php
1 parent 118cd2c commit 24093b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Ydb.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,11 @@ public function meta(): array
164164
*/
165165
public function discover()
166166
{
167-
if ($this->triedDiscovery) return;
167+
if ($this->triedDiscovery)
168+
return;
169+
168170
$this->triedDiscovery = true;
171+
169172
try {
170173
$endpoints = $this->discovery()->listEndpoints();
171174
if (!empty($endpoints)) {

0 commit comments

Comments
 (0)