cloudapi: small comment for readability
Comment the code that reads the user-defined repositories to explaine what's happening.
This commit is contained in:
parent
ece6452e2a
commit
0e5bb66516
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue