Updates to /sharepoint/data_collections.go
Adds new identifier to NewCollection() call
This commit is contained in:
parent
dd57457b10
commit
19446b85e5
@ -112,7 +112,7 @@ func collectLists(
|
|||||||
return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID)
|
return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID)
|
||||||
}
|
}
|
||||||
|
|
||||||
collection := NewCollection(dir, serv, updater.UpdateStatus)
|
collection := NewCollection(dir, serv, List, updater.UpdateStatus)
|
||||||
collection.AddJob(tuple.id)
|
collection.AddJob(tuple.id)
|
||||||
|
|
||||||
spcs = append(spcs, collection)
|
spcs = append(spcs, collection)
|
||||||
@ -193,7 +193,7 @@ func collectPages(
|
|||||||
return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID)
|
return nil, errors.Wrapf(err, "failed to create collection path for site: %s", siteID)
|
||||||
}
|
}
|
||||||
|
|
||||||
collection := NewCollection(dir, serv, updater.UpdateStatus)
|
collection := NewCollection(dir, serv, Pages, updater.UpdateStatus)
|
||||||
collection.AddJob(tuple.id)
|
collection.AddJob(tuple.id)
|
||||||
|
|
||||||
spcs = append(spcs, collection)
|
spcs = append(spcs, collection)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user