Skip to content

Commit

Permalink
fix: using engine variant name for download task id (#1833)
Browse files Browse the repository at this point in the history
namchuai authored Dec 30, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent f94527f commit d9bdb81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions engine/services/engine_service.cc
Original file line number Diff line number Diff line change
@@ -8,7 +8,6 @@
#include "database/engines.h"
#include "extensions/remote-engine/remote_engine.h"
#include "utils/archive_utils.h"
#include "utils/cpuid/cpu_info.h"
#include "utils/engine_constants.h"
#include "utils/engine_matcher_utils.h"
#include "utils/file_manager_utils.h"
@@ -364,10 +363,10 @@ cpp::result<void, std::string> EngineService::DownloadEngine(
};

auto downloadTask =
DownloadTask{.id = engine,
DownloadTask{.id = selected_variant->name,
.type = DownloadType::Engine,
.items = {DownloadItem{
.id = engine,
.id = selected_variant->name,
.downloadUrl = selected_variant->browser_download_url,
.localPath = variant_path,
}}};

0 comments on commit d9bdb81

Please sign in to comment.