Skip to content

Commit

Permalink
Fixed the type of a test parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertchen committed Apr 8, 2022
1 parent f2d6de3 commit 8df529d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duplicacy_snapshotmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func createTestSnapshotManager(testDir string) *SnapshotManager {

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) {
LOG_INFO("UPLOAD_CHUNK", "Chunk %s size %d uploaded", chunk.GetID(), chunkSize)
}
Expand Down

0 comments on commit 8df529d

Please sign in to comment.