The current code returns NVRs of Koji builds of RPMs attached to the advisory. But for modular advisories, it returns the NVR of the module build itself and not of the koji builds in the module. This commit fixes that problem.
@jkaluza @gnaponie can you PTAL?
rebased onto 3b8530d2bd75ce00d09f984bfc96f1cfcc7c5d07
Could you add tests for this change?
Look good. Just add tests.
@jkaluza Yash said at yesterday's stand up that the existing tests should cover for the new case too. Anyhow, the PR looks good to me.
Pull-Request has been merged by jkaluza
The current code returns NVRs of Koji builds of RPMs attached to the advisory. But for modular advisories, it returns the NVR of the module build itself and not of the koji builds in the module. This commit fixes that problem.