mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Fix limit of shown backups on Synology DSM location (#145342)
This commit is contained in:
parent
777b04d7a5
commit
f5cf64700a
@ -236,7 +236,7 @@ class SynologyDSMBackupAgent(BackupAgent):
|
|||||||
raise BackupAgentError("Failed to read meta data") from err
|
raise BackupAgentError("Failed to read meta data") from err
|
||||||
|
|
||||||
try:
|
try:
|
||||||
files = await self._file_station.get_files(path=self.path)
|
files = await self._file_station.get_files(path=self.path, limit=1000)
|
||||||
except SynologyDSMAPIErrorException as err:
|
except SynologyDSMAPIErrorException as err:
|
||||||
raise BackupAgentError("Failed to list backups") from err
|
raise BackupAgentError("Failed to list backups") from err
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user