style: linting
This commit is contained in:
@@ -536,7 +536,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
|||||||
if ($pull_request_id === 0) {
|
if ($pull_request_id === 0) {
|
||||||
if ($application->fqdn) {
|
if ($application->fqdn) {
|
||||||
$domains = str(data_get($application, 'fqdn'))->explode(',');
|
$domains = str(data_get($application, 'fqdn'))->explode(',');
|
||||||
switch($application->destination->server->proxyType()) {
|
switch ($application->destination->server->proxyType()) {
|
||||||
case ProxyTypes::TRAEFIK_V2->value:
|
case ProxyTypes::TRAEFIK_V2->value:
|
||||||
$labels = $labels->merge(fqdnLabelsForTraefik(
|
$labels = $labels->merge(fqdnLabelsForTraefik(
|
||||||
uuid: $appUuid,
|
uuid: $appUuid,
|
||||||
@@ -569,7 +569,7 @@ function generateLabelsApplication(Application $application, ?ApplicationPreview
|
|||||||
$domains = collect([]);
|
$domains = collect([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch($application->destination->server->proxyType()) {
|
switch ($application->destination->server->proxyType()) {
|
||||||
case ProxyTypes::TRAEFIK_V2->value:
|
case ProxyTypes::TRAEFIK_V2->value:
|
||||||
$labels = $labels->merge(fqdnLabelsForTraefik(
|
$labels = $labels->merge(fqdnLabelsForTraefik(
|
||||||
uuid: $appUuid,
|
uuid: $appUuid,
|
||||||
|
|||||||
@@ -1306,7 +1306,7 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
|
|||||||
$serviceLabels = $serviceLabels->merge($defaultLabels);
|
$serviceLabels = $serviceLabels->merge($defaultLabels);
|
||||||
if (! $isDatabase && $fqdns->count() > 0) {
|
if (! $isDatabase && $fqdns->count() > 0) {
|
||||||
if ($fqdns) {
|
if ($fqdns) {
|
||||||
switch($resource->destination->server->proxyType()) {
|
switch ($resource->destination->server->proxyType()) {
|
||||||
case ProxyTypes::TRAEFIK_V2->value:
|
case ProxyTypes::TRAEFIK_V2->value:
|
||||||
$serviceLabels = $serviceLabels->merge(fqdnLabelsForTraefik(
|
$serviceLabels = $serviceLabels->merge(fqdnLabelsForTraefik(
|
||||||
uuid: $resource->uuid,
|
uuid: $resource->uuid,
|
||||||
|
|||||||
Reference in New Issue
Block a user