Skip to content

Commit 97b601c

Browse files
authored
MCLOUD-5670: Fix for multiple mysql instance error #169 (#181)
1 parent 4ca9932 commit 97b601c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/Source/CloudSource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private function addRelationships(Repository $repository, array $relationships):
174174
continue;
175175
}
176176

177-
if ($repository->has(self::SERVICES . '.' . $service)) {
177+
if ($repository->has(self::SERVICES . '.' . $service) && $service != ServiceInterface::SERVICE_DB) {
178178
throw new SourceException(sprintf(
179179
'Only one instance of service "%s" supported',
180180
$service

0 commit comments

Comments
 (0)