libstore: stop duplicating the unit in the retry message

Commit 5dc847b47b introduced usage of
std::chrono::milliseconds, which prints with the unit, leading to its
duplication. Remove this duplication again. Specifically, the explicitly
printed one is kept, due to better typography.

Change-Id: I724ea6be6f2a1349fe799602c3429f096a6a6964
This commit is contained in:
Alois Wohlschlager
2025-11-23 11:45:34 +01:00
parent 748a975aa0
commit 0f3a66f856
+2 -2
View File
@@ -1113,7 +1113,7 @@ struct curlFileTransfer : public FileTransfer
"%s; retrying from offset %d in %d ms (attempt %d/%d)",
Uncolored(context),
totalReceived,
waitTime,
waitTime.count(),
Uncolored(attempt),
Uncolored(tries)
);
@@ -1121,7 +1121,7 @@ struct curlFileTransfer : public FileTransfer
printTaggedWarning(
"%s; retrying in %d ms (attempt %d/%d)",
Uncolored(context),
waitTime,
waitTime.count(),
Uncolored(attempt),
Uncolored(tries)
);