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(parsers): remove unnecessary hyphen-to-underscore replacement for service names in serviceParser function

Andras Bacsai3e816c828130
diff --git a/bootstrap/helpers/parsers.php b/bootstrap/helpers/parsers.php
index 649b872126..6e2b55ae9b 100644
--- a/bootstrap/helpers/parsers.php
+++ b/bootstrap/helpers/parsers.php
@@ -1889,7 +1889,6 @@ function serviceParser(Service $resource): Collection
});
}
}
- $serviceName = str($serviceName)->replace('-', '_')->value();
if (! $isDatabase && $fqdns instanceof Collection && $fqdns->count() > 0) {
$shouldGenerateLabelsExactly = $resource->server->settings->generate_exact_labels;
$uuid = $resource->uuid;