Skip to content
Snippets Groups Projects
Commit d0096aa5 authored by Josh Brooks's avatar Josh Brooks
Browse files

Expose fields in BackupReport

parent fad9e84e
No related branches found
No related tags found
2 merge requests!510Release,!299Implement NewCmixFromBackup
......@@ -26,10 +26,10 @@ type Backup struct {
// NewCmixFromBackup.
type BackupReport struct {
// The JSON encoded list of E2E partner IDs
backupIdListJson []byte
BackupIdListJson []byte
// The backup parameters found within the backup file
backupParams []byte
BackupParams []byte
}
// UpdateBackupFunc contains a function callback that returns new backups.
......@@ -73,8 +73,8 @@ func NewCmixFromBackup(ndfJSON, storageDir string, sessionPassword,
// Construct report
report := BackupReport{
backupIdListJson: backupIdListJson,
backupParams: []byte(backupParamsStr),
BackupIdListJson: backupIdListJson,
BackupParams: []byte(backupParamsStr),
}
// Marshal report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment