New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(xo-web/Backup NG/logs): display the export type #3023
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not what we want here, we want to display, in delta mode, whether the export was a full or a delta.
).then(result => ({ | ||
size: sumBy(result, 'size'), | ||
isFull: some(result, { isDelta: false }), | ||
})) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be implemented for CR as well.
IMHO, you should do it before the waitAll
.
@@ -1018,12 +1018,14 @@ export default class BackupNg { | |||
} | |||
})() | |||
|
|||
const getIsDelta = vdi => vdi.other_config['xo:base_delta'] !== undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is not a closure, move it outside of this scope.
@@ -1018,12 +1018,14 @@ export default class BackupNg { | |||
} | |||
})() | |||
|
|||
const getIsDelta = vdi => vdi.other_config['xo:base_delta'] !== undefined | |||
const isFull = some(deltaExport.vdis, vdi => !getIsDelta(vdi)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid creating a wrapper around getIsDelta
.
Please check all boxes if the appropriate action is done or if not relevant. |
See #2711
Check list
Fixes #007
)Process
WiP:
(Work in Progress) if not ready to be mergedList of packages to release
Screenshots