Make nextcloud_mount an attribute

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
Pablo Zmdl 2026-01-20 12:53:22 +01:00
parent bb865b7dee
commit 44d5b7cd5e
4 changed files with 9 additions and 11 deletions

View file

@ -119,7 +119,7 @@ readonly class ContainerDefinitionFetcher {
}
}
if($value['source'] === '%NEXTCLOUD_MOUNT%') {
$value['source'] = $this->configurationManager->GetNextcloudMount();
$value['source'] = $this->configurationManager->nextcloud_mount;
if($value['source'] === '') {
continue;
}
@ -140,7 +140,7 @@ readonly class ContainerDefinitionFetcher {
}
}
if ($value['destination'] === '%NEXTCLOUD_MOUNT%') {
$value['destination'] = $this->configurationManager->GetNextcloudMount();
$value['destination'] = $this->configurationManager->nextcloud_mount;
if($value['destination'] === '') {
continue;
}