add ownerName to backup list json (#3481)
#### Does this PR need a docs update or release note? - [x] ✅ Yes, it's included #### Type of change - [x] 🌻 Feature #### Issue(s) * #3748 #### Test Plan - [x] 💪 Manual - [x] ⚡ Unit test
This commit is contained in:
parent
64ad412456
commit
d3611db059
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [Unreleased] (beta)
|
||||
|
||||
### Added
|
||||
- Added OwnerName to the backup list json output. OwnerName holds either a UPN or a WebURL, depending on the resource type.
|
||||
|
||||
### Fixed
|
||||
- Fix Exchange folder cache population error when parent folder isn't found.
|
||||
- Fix Exchange backup issue caused by incorrect json serialization
|
||||
|
||||
@ -171,6 +171,7 @@ type Printable struct {
|
||||
Status string `json:"status"`
|
||||
Version string `json:"version"`
|
||||
Owner string `json:"owner"`
|
||||
OwnerName string `json:"ownerName"`
|
||||
Stats backupStats `json:"stats"`
|
||||
}
|
||||
|
||||
@ -181,6 +182,7 @@ func (b Backup) ToPrintable() Printable {
|
||||
Status: b.Status,
|
||||
Version: "0",
|
||||
Owner: b.Selector.DiscreteOwner,
|
||||
OwnerName: b.Selector.DiscreteOwnerName,
|
||||
Stats: b.toStats(),
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user