Skip to content

Commit

Permalink
do not inline code
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRA committed Sep 18, 2024
1 parent 25fe0c7 commit d082f79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions @xen-orchestra/backups/RemoteAdapter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -845,9 +845,10 @@ export class RemoteAdapter {
return this.#computeTotalBackupSizeRecursively(await this.listAllVmBackups())
}

// @TODO: add `getTotalXoBackupSize` and `getTotalPoolBackupSize` once `size` is implemented
async getTotalBackupSize() {
return this.#computeTotalBackupSizeRecursively(await Promise.all([this.getTotalVmBackupSize()]))
const vmBackupSize = await this.getTotalVmBackupSize()
// @TODO: add `getTotalXoBackupSize` and `getTotalPoolBackupSize` once `size` is implemented by fs
return vmBackupSize
}
}

Expand Down

0 comments on commit d082f79

Please sign in to comment.