Skip to content

Commit

Permalink
Move downloadData
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Sharp authored and Alexey Sharp committed Apr 25, 2022
1 parent 1dca25b commit 8130a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/downloader/downloader/grpc_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func (s *GrpcServer) Download(ctx context.Context, request *proto_downloader.Dow
}
}
t.AllowDataUpload()
t.AllowDataDownload()
if !t.Complete.Bool() {
t.AllowDataDownload()
t.DownloadAll()
}
}
Expand Down

0 comments on commit 8130a4d

Please sign in to comment.