store: remove unused arguments from PushCompose

This commit is contained in:
Lars Karlitski 2020-03-31 11:49:20 +02:00 committed by Tom Gundersen
parent e516180640
commit eb10cf3124
4 changed files with 5 additions and 5 deletions

View file

@ -207,7 +207,7 @@ func (api *API) submit(writer http.ResponseWriter, request *http.Request, _ http
// Push the requested compose to the store
composeUUID := uuid.New()
// nil is used as an upload target, because LocalTarget is already used in the PushCompose function
err = api.store.PushCompose(distro, arch, imageType, composeUUID, &blueprint.Blueprint{}, repoConfigs, packages, buildPackages, 0, nil)
err = api.store.PushCompose(imageType, composeUUID, &blueprint.Blueprint{}, repoConfigs, packages, buildPackages, 0, nil)
if err != nil {
if api.logger != nil {
api.logger.Println("RCM API failed to push compose:", err)