mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 03:34:39 -06:00
Fixed the type of a test parameter
This commit is contained in:
@@ -116,7 +116,7 @@ func createTestSnapshotManager(testDir string) *SnapshotManager {
|
|||||||
|
|
||||||
func uploadTestChunk(manager *SnapshotManager, content []byte) string {
|
func uploadTestChunk(manager *SnapshotManager, content []byte) string {
|
||||||
|
|
||||||
chunkOperator := CreateChunkOperator(manager.config, manager.storage, nil, false, testThreads, false)
|
chunkOperator := CreateChunkOperator(manager.config, manager.storage, nil, false, *testThreads, false)
|
||||||
chunkOperator.UploadCompletionFunc = func(chunk *Chunk, chunkIndex int, skipped bool, chunkSize int, uploadSize int) {
|
chunkOperator.UploadCompletionFunc = func(chunk *Chunk, chunkIndex int, skipped bool, chunkSize int, uploadSize int) {
|
||||||
LOG_INFO("UPLOAD_CHUNK", "Chunk %s size %d uploaded", chunk.GetID(), chunkSize)
|
LOG_INFO("UPLOAD_CHUNK", "Chunk %s size %d uploaded", chunk.GetID(), chunkSize)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user