fix: keydb. add : delimiter for connection string
This commit is contained in:
parent
1a40bebaae
commit
72c08e4496
1 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ public function type(): string
|
||||||
protected function internalDbUrl(): Attribute
|
protected function internalDbUrl(): Attribute
|
||||||
{
|
{
|
||||||
return new Attribute(
|
return new Attribute(
|
||||||
get: fn () => "redis://{$this->keydb_password}@{$this->uuid}:6379/0",
|
get: fn () => "redis://:{$this->keydb_password}@{$this->uuid}:6379/0",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -218,7 +218,7 @@ protected function externalDbUrl(): Attribute
|
||||||
return new Attribute(
|
return new Attribute(
|
||||||
get: function () {
|
get: function () {
|
||||||
if ($this->is_public && $this->public_port) {
|
if ($this->is_public && $this->public_port) {
|
||||||
return "redis://{$this->keydb_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
|
return "redis://:{$this->keydb_password}@{$this->destination->server->getIp}:{$this->public_port}/0";
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue