We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34f12b1 commit 797d705Copy full SHA for 797d705
src/Synchronizer.php
@@ -154,7 +154,7 @@ private function getHostsLines($container)
154
*/
155
private function getContainerHosts($container)
156
{
157
- $hosts = [substr($container->getName(), 1).$this->tld];
+ $hosts = [substr($container['Name'], 1).$this->tld];
158
if (isset($container['Config']['Env']) && is_array($container['Config']['Env'])) {
159
$env = $container['Config']['Env'];
160
foreach (preg_grep('/DOMAIN_NAME=/', $env) as $row) {
0 commit comments