Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
Improve DSC upload logging
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Haller <[email protected]>
  • Loading branch information
gstoehld and ubhaller committed Jul 20, 2022
1 parent 17c4284 commit dd565c6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ public DscUploadResponse uploadDscs()

List<CertToUpload> certsToUpload = certUploadDataService.findCertsToUpload();
logger.info(
"found {} dscs to upload. aliases/slots: {}/{}",
"found {} dscs to upload. aliases/slots: {}",
certsToUpload.size(),
certsToUpload.stream().map(CertToUpload::getAlias).collect(Collectors.toList()),
certsToUpload.stream().map(CertToUpload::getSlot).collect(Collectors.toList()));
certsToUpload.stream()
.map(c -> c.getAlias() + "/" + c.getSlot())
.collect(Collectors.toList()));
for (CertToUpload certToUpload : certsToUpload) {
String alias = certToUpload.getAlias();
int slot = certToUpload.getSlot();
Expand Down

0 comments on commit dd565c6

Please sign in to comment.