hm
This commit is contained in:
parent
c287276d0e
commit
4d49132821
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue