Skip to content

Commit 3dc309d

Browse files
committed
OTHER: making all items in helper strategies public so that they can be set. It was a typo that some were package private.
1 parent 5b85672 commit 3dc309d

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
@@ -12,8 +12,8 @@ type ReadBulkJobOptions struct {
1212
Aggregating *bool
1313
ChunkClientProcessingOrderGuarantee models.JobChunkClientProcessingOrderGuarantee
1414
ImplicitJobIdResolution *bool
15-
name *string
16-
priority models.Priority
15+
Name *string
16+
Priority models.Priority
1717
}
1818

1919
// Strategy for how to blob objects for writing

0 commit comments

Comments
 (0)