Skip to content

Commit 35cb5d7

Browse files
authored
Merge pull request #78 from Azure/dev
v0.5.2.5
2 parents 254ab34 + 851cb2e commit 35cb5d7

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Sources and targets are decoupled, this design enables the composition of variou
2929
Download, extract and set permissions:
3030

3131
```bash
32-
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.5.23/bp_linux.tar.gz
32+
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.5.24/bp_linux.tar.gz
3333
tar -xvf bp_linux.tar.gz linux_amd64/blobporter
3434
chmod +x ~/linux_amd64/blobporter
3535
cd ~/linux_amd64
@@ -46,7 +46,7 @@ export ACCOUNT_KEY=<STORAGE_ACCOUNT_KEY>
4646
4747
### Windows
4848

49-
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.5.23/bp_windows.zip)
49+
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.5.24/bp_windows.zip)
5050

5151
Set environment variables (if using the command prompt):
5252

blobporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const (
5454
s3AccessKeyEnvVar = "S3_ACCESS_KEY"
5555
s3SecretKeyEnvVar = "S3_SECRET_KEY"
5656

57-
programVersion = "0.5.23" // version number to show in help
57+
programVersion = "0.5.25" // version number to show in help
5858
)
5959

6060
const numOfWorkersFactor = 8

sources/http.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ func newHTTPSource(sourceListManager objectListManager, pipelineFactory sourceHT
4949

5050
for b := 0; b < numOfBatches; b++ {
5151

52+
start = b * numOfFilesInBatch
53+
5254
if filesSent < numOfFilesInBatch {
5355
numOfFilesInBatch = filesSent
5456
}
55-
start = b * numOfFilesInBatch
5657

5758
httpSource := HTTPPipeline{Sources: sourceInfos[start : start+numOfFilesInBatch], HTTPClient: util.NewHTTPClient(), includeMD5: includeMD5}
5859

sources/s3info.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ func (s *s3InfoProvider) getObjectLists() (map[string][]minio.ObjectInfo, error)
118118
if object.Err != nil {
119119
return nil, object.Err
120120
}
121-
122121
list = append(list, object)
123122
}
124123

0 commit comments

Comments
 (0)