fix(docker): improve pull request ID check in container status function
This commit is contained in:
parent
67605d50fc
commit
919fc184b7
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function getCurrentApplicationContainerStatus(Server $server, int $id, ?int $pul
|
||||||
if ($includePullrequests) {
|
if ($includePullrequests) {
|
||||||
return $container;
|
return $container;
|
||||||
}
|
}
|
||||||
if (str($labels)->contains("coolify.pullRequestId=$pullRequestId")) {
|
if ($pullRequestId !== null && $pullRequestId !== 0 && str($labels)->contains("coolify.pullRequestId={$pullRequestId}")) {
|
||||||
return $container;
|
return $container;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue