Improve notification message for TCP Proxy container restart to include database name

This commit is contained in:
Andras Bacsai
2024-12-03 12:21:09 +01:00
parent 319c3023dc
commit f7ef339ec3

View File

@@ -280,7 +280,7 @@ class PushServerUpdateJob implements ShouldBeEncrypted, ShouldQueue
})->first();
if (! $tcpProxyContainerFound) {
StartDatabaseProxy::dispatch($database);
$this->server->team?->notify(new ContainerRestarted('TCP Proxy for database', $this->server));
$this->server->team?->notify(new ContainerRestarted("TCP Proxy for {$database->name}", $this->server));
} else {
}
}