From d0096aa5b8f696e17529cf4e75d9f92ae8038016 Mon Sep 17 00:00:00 2001 From: joshemb <josh@elixxir.io> Date: Thu, 28 Jul 2022 13:28:29 -0700 Subject: [PATCH] Expose fields in BackupReport --- bindings/backup.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bindings/backup.go b/bindings/backup.go index f3d368ebe..bdc6fe7e4 100644 --- a/bindings/backup.go +++ b/bindings/backup.go @@ -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 -- GitLab