mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
hm
This commit is contained in:
parent
c287276d0e
commit
4d49132821
@ -19,7 +19,7 @@
|
|||||||
use Illuminate\Queue\SerializesModels;
|
use Illuminate\Queue\SerializesModels;
|
||||||
use Str;
|
use Str;
|
||||||
|
|
||||||
class ContainerStatusJob implements ShouldQueue, ShouldBeUnique, ShouldBeEncrypted
|
class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted
|
||||||
{
|
{
|
||||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||||
|
|
||||||
@ -89,7 +89,6 @@ public function handle(): void
|
|||||||
$labels = data_get($container, 'Config.Labels');
|
$labels = data_get($container, 'Config.Labels');
|
||||||
$labels = Arr::undot(format_docker_labels_to_json($labels));
|
$labels = Arr::undot(format_docker_labels_to_json($labels));
|
||||||
$labelId = data_get($labels, 'coolify.applicationId');
|
$labelId = data_get($labels, 'coolify.applicationId');
|
||||||
ray($labelId);
|
|
||||||
if ($labelId) {
|
if ($labelId) {
|
||||||
if (str_contains($labelId,'-pr-')) {
|
if (str_contains($labelId,'-pr-')) {
|
||||||
$previewId = (int) Str::after($labelId, '-pr-');
|
$previewId = (int) Str::after($labelId, '-pr-');
|
||||||
|
Loading…
Reference in New Issue
Block a user