fix(synology): support vol_info in storage_v2 responses (#6554)

This commit is contained in:
Sven authored and GitHub committed 2026-08-11 08:59:28 +00:00
1 parent 64febbce12
commit 742bde1d27
3 files changed
+60

No files matched your search

@@ -85,6 +85,11 @@ export class SynologyClient {
if (volumesFromV2.length > 0) {
return volumesFromV2;
}
const legacyVolumesFromV2 = this.mapLegacyVolumes(storageV2.vol_info);
if (legacyVolumesFromV2.length > 0) {
return legacyVolumesFromV2;
}
} catch (error) {
logger.debug("storage_v2 unavailable, falling back to legacy storage info", {
integrationId: this.integrationId,