mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-18 21:20:34 +00:00
Fix: Fragile service name parsing in applyServiceApplicationPrerequisites
Changed from `->before('-')` to `->beforeLast('-')` to correctly parse service
names with hyphens. This fixes prerequisite application for ~230+ services
containing hyphens in their template names (e.g., docker-registry,
elasticsearch-with-kibana).
Added comprehensive test coverage for hyphenated service names and fixed
existing tests to use realistic CUID2 UUID format. All unit tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,7 @@ class Proxy extends Component
|
||||
|
||||
public function getConfigurationFilePathProperty(): string
|
||||
{
|
||||
return rtrim($this->server->proxyPath(), '/') . '/docker-compose.yml';
|
||||
return rtrim($this->server->proxyPath(), '/').'/docker-compose.yml';
|
||||
}
|
||||
|
||||
public function changeProxy()
|
||||
|
||||
Reference in New Issue
Block a user