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 { ...@@ -26,10 +26,10 @@ type Backup struct {
// NewCmixFromBackup. // NewCmixFromBackup.
type BackupReport struct { type BackupReport struct {
// The JSON encoded list of E2E partner IDs // The JSON encoded list of E2E partner IDs
backupIdListJson []byte BackupIdListJson []byte
// The backup parameters found within the backup file // The backup parameters found within the backup file
backupParams []byte BackupParams []byte
} }
// UpdateBackupFunc contains a function callback that returns new backups. // UpdateBackupFunc contains a function callback that returns new backups.
...@@ -73,8 +73,8 @@ func NewCmixFromBackup(ndfJSON, storageDir string, sessionPassword, ...@@ -73,8 +73,8 @@ func NewCmixFromBackup(ndfJSON, storageDir string, sessionPassword,
// Construct report // Construct report
report := BackupReport{ report := BackupReport{
backupIdListJson: backupIdListJson, BackupIdListJson: backupIdListJson,
backupParams: []byte(backupParamsStr), BackupParams: []byte(backupParamsStr),
} }
// Marshal report // Marshal report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment