Fix volume target, use the last part

Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
This commit is contained in:
Trung-DV committed 2025-08-06 10:21:54 +07:00
1 parent f34225dfd6
commit 4f77bd4347
1 file changed
+1 -1
+1 -1
View File
@@ -3420,7 +3420,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
}
if (is_string($volume)) {
$source = str($volume)->before(':');
$target = str($volume)->after(':')->beforeLast(':');
$target = str($volume)->afterLast(':');
$source = $name;
$volume = "$source:$target";
} elseif (is_array($volume)) {