From f036d9dfb866bfe3e52e915889255ebe2d061eb8 Mon Sep 17 00:00:00 2001 From: Danny Adams Date: Sat, 21 Jan 2023 02:08:29 -0500 Subject: [PATCH] Updated to /connector/sharepoint/data_collections.go Control.Options added to NewCollection() calls. --- src/internal/connector/sharepoint/data_collections.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/connector/sharepoint/data_collections.go b/src/internal/connector/sharepoint/data_collections.go index fc5708af9..ba0788422 100644 --- a/src/internal/connector/sharepoint/data_collections.go +++ b/src/internal/connector/sharepoint/data_collections.go @@ -123,7 +123,7 @@ func collectLists( return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID) } - collection := NewCollection(dir, serv, List, updater.UpdateStatus) + collection := NewCollection(dir, serv, List, updater.UpdateStatus, ctrlOpts) collection.AddJob(tuple.id) spcs = append(spcs, collection) @@ -197,7 +197,7 @@ func collectPages( return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID) } - collection := NewCollection(dir, serv, Pages, updater.UpdateStatus) + collection := NewCollection(dir, serv, Pages, updater.UpdateStatus, ctrlOpts) collection.AddJob(tuple.id) spcs = append(spcs, collection)