Skip to content
Snippets Groups Projects
Commit ddfd7aad authored by Eric Cano's avatar Eric Cano
Browse files

Fixed wrong status set in case of success.

parent aa7972bb
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,7 @@ void RepackRequest::reportArchiveSuccesses(SubrequestStatistics::List& archiveSu
if (m_payload.failedtoarchivefiles()) {
m_payload.set_status(serializers::RepackRequestStatus::RRS_Failed);
} else {
m_payload.set_status(serializers::RepackRequestStatus::RRS_Failed);
m_payload.set_status(serializers::RepackRequestStatus::RRS_Complete);
}
}
m_payload.mutable_subrequests()->Clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment