GC: Restore: SharePoint add case for Page Category in Workflow. (#2114)
## Description Fix to allow selectors to include `SharePoint.Pages` during backup without causing backup workflow to fail. <!-- Insert PR description--> ## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change <!--- Please check the type of change your PR introduces: ---> - [x] 🐛 Bugfix ## Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> *closes #2113<issue> ## Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual
This commit is contained in:
parent
936789b6b4
commit
1db101ca17
@ -76,6 +76,12 @@ func RestoreCollections(
|
||||
deets,
|
||||
errUpdater,
|
||||
)
|
||||
case path.PagesCategory:
|
||||
errorMessage := fmt.Sprintf("restore of %s not supported", dc.FullPath().Category())
|
||||
logger.Ctx(ctx).Error(errorMessage)
|
||||
|
||||
return nil, errors.New(errorMessage)
|
||||
|
||||
default:
|
||||
return nil, errors.Errorf("category %s not supported", dc.FullPath().Category())
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user