-
Notifications
You must be signed in to change notification settings - Fork 39
Conversation
Codecov Report
@@ Coverage Diff @@
## main #822 +/- ##
==========================================
- Coverage 50.07% 49.97% -0.10%
==========================================
Files 169 169
Lines 19287 19424 +137
==========================================
+ Hits 9657 9708 +51
- Misses 8543 8628 +85
- Partials 1087 1088 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM besides minor comments
return nil, status.Error(codes.NotFound, "Job related to artifact was not found.") | ||
} | ||
if len(jobs) > 1 { | ||
s.l.Warnf("artifact %s appear in more than one job", req.ArtifactId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that possible? Probably we could error here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, this is possible. For PITR we have one artifact, but multiple jobs.
PMM-8673
Build: PMM-8673-mongodb-logs Percona-Lab/pmm-submodules#2014
Links to other linked pull requests (optional).
API: PMM-8673 mongodb backup logs pmm#775
Agent: PMM-8673 Send pbm logs to pmm pmm-agent#289