Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor: Skip returning volume if driver type is cifs or nfs

Andras Bacsaid2a306dab9d7
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 0041825b9e..75c7a101cf 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -3246,10 +3246,10 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
if ($topLevel->get('volumes')->has($source->value())) {
$temp = $topLevel->get('volumes')->get($source->value());
if (data_get($temp, 'driver_opts.type') === 'cifs') {
- return $volume;
+ continue;
}
if (data_get($temp, 'driver_opts.type') === 'nfs') {
- return $volume;
+ continue;
}
}
$slugWithoutUuid = Str::slug($source, '-');