campaignd: Fix report format

We want to display the previous version value, not the full config with
the version info.
This commit is contained in:
Iris Morelle 2020-11-14 16:40:02 -03:00
parent 41bb4b1031
commit 01f8407f65

View file

@ -1540,7 +1540,7 @@ void server::handle_upload(const server::request& req)
continue;
}
LOG_CS << "Automatically generating update pack for " << prev_version << " -> " << next_version_name << "...\n";
LOG_CS << "Automatically generating update pack for " << prev_version_name << " -> " << next_version_name << "...\n";
const auto& prev_path = pathstem + '/' + prev_version["filename"].str();
const auto& next_path = pathstem + '/' + next_version["filename"].str();