cloudapi: small comment for readability

Comment the code that reads the user-defined repositories to explaine
what's happening.
This commit is contained in:
Achilleas Koutsou 2022-01-31 19:33:49 +01:00 committed by Christian Kellner
parent ece6452e2a
commit 0e5bb66516

View file

@ -205,6 +205,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
}
}
// add the user-defined repositories only to the depsolve job for the
// payload (the packages for the final image)
var payloadRepositories []Repository
if request.Customizations != nil && request.Customizations.PayloadRepositories != nil {
payloadRepositories = *request.Customizations.PayloadRepositories