Order output by domain
This commit is contained in:
parent
35fc52a779
commit
17b0665893
1 changed files with 3 additions and 1 deletions
|
|
@ -687,9 +687,11 @@ class Bouncer
|
|||
$changedTargets = [];
|
||||
foreach ($targets as $target) {
|
||||
if ($this->generateNginxConfig($target)) {
|
||||
$changedTargets[] = $target;
|
||||
$changedTargets[strrev($target->getName())] = $target;
|
||||
}
|
||||
}
|
||||
ksort($changedTargets);
|
||||
$changedTargets = array_values($changedTargets);
|
||||
if (count($changedTargets) <= $this->getMaximumNginxConfigCreationNotices()) {
|
||||
foreach ($changedTargets as $target) {
|
||||
$this->logger->info('{emoji} Created {label}', ['emoji' => Emoji::pencil(), 'label' => $target->getLabel()]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue