This is an optimization that uses less memory on the hub, and as a side effect applies the grace period check in the hub call.
The queryHistory call doesn't give use all the build data that listTagged does (which is kind of the point), but in this part of the code we really only need the build id and nvr.
This is an optimization that uses less memory on the hub, and as a side effect applies the grace period check in the hub call.
The
queryHistorycall doesn't give use all the build data thatlistTaggeddoes (which is kind of the point), but in this part of the code we really only need the build id and nvr.