Skip to content

Commit 720b2f3

Browse files
authored
Merge pull request #91 from RachelTucker/OTHER-make-strategy-vars-public
OTHER: making all items in helper strategies public so that they can be set
2 parents f318acf + ad0807d commit 720b2f3

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

helpers/getTransfernator.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ func newBulkGetRequest(bucketName string, readObjects *[]helperModels.GetObject,
4040
if options.ImplicitJobIdResolution != nil {
4141
bulkGet.WithImplicitJobIdResolution(*options.ImplicitJobIdResolution)
4242
}
43-
if options.priority != ds3Models.UNDEFINED {
44-
bulkGet.WithPriority(options.priority)
43+
if options.Priority != ds3Models.UNDEFINED {
44+
bulkGet.WithPriority(options.Priority)
45+
}
46+
if options.Name != nil {
47+
bulkGet.WithName(*options.Name)
4548
}
4649

4750
return bulkGet

helpers/readTransferStrategy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ type ReadBulkJobOptions struct {
1313
Aggregating *bool
1414
ChunkClientProcessingOrderGuarantee models.JobChunkClientProcessingOrderGuarantee
1515
ImplicitJobIdResolution *bool
16-
name *string
17-
priority models.Priority
16+
Name *string
17+
Priority models.Priority
1818
}
1919

2020
// Strategy for how to blob objects for writing

0 commit comments

Comments
 (0)