Skip to content

Commit

Permalink
Hotfix 5.10.1 (#1837)
Browse files Browse the repository at this point in the history
* EPMRPP-87223 || Fix duplicated logs
  • Loading branch information
APiankouski authored Oct 25, 2023
1 parent ef9d00b commit f0e8cbb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

env:
GH_USER_NAME: github.actor
RELEASE_VERSION: 5.10.0
RELEASE_VERSION: 5.10.1
REPOSITORY_URL: 'https://maven.pkg.github.com/'

jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,14 +296,16 @@ private void createItemLog(SaveLogRQ request, TestItem item, BinaryDataMetaInfo
Launch effectiveLaunch = testItemService.getEffectiveLaunch(item);
logService.saveLogMessageToElasticSearch(log, effectiveLaunch.getId());

saveAttachment(request.getFile().getName(), metaInfo,
log.getId(),
projectId,
effectiveLaunch.getId(),
item.getItemId(),
effectiveLaunch.getUuid(),
log.getUuid()
);
if (Objects.nonNull(request.getFile())) {
saveAttachment(request.getFile().getName(), metaInfo,
log.getId(),
projectId,
effectiveLaunch.getId(),
item.getItemId(),
effectiveLaunch.getUuid(),
log.getUuid()
);
}
}

private void createLaunchLog(SaveLogRQ request, Launch launch, BinaryDataMetaInfo metaInfo,
Expand Down

0 comments on commit f0e8cbb

Please sign in to comment.