diff --git a/lib/app/service/app.go b/lib/app/service/app.go index 0aee90c59a..ec63711e9d 100644 --- a/lib/app/service/app.go +++ b/lib/app/service/app.go @@ -905,8 +905,8 @@ func (r *applications) checkImportRequirements(manifest *schema.Manifest, req *a } // check dependencies-packages - for _, dep := range manifest.Dependencies.Packages { - locator, err := r.processMetadata(dep.Locator) + for _, dep := range manifest.Dependencies.GetPackages() { + locator, err := r.processMetadata(dep) if err != nil { return trace.Wrap(err) } @@ -920,8 +920,8 @@ func (r *applications) checkImportRequirements(manifest *schema.Manifest, req *a } // check dependencies-apps - for _, dep := range manifest.Dependencies.Apps { - locator, err := r.processMetadata(dep.Locator) + for _, dep := range manifest.Dependencies.GetApps() { + locator, err := r.processMetadata(dep) if err != nil { return trace.Wrap(err) }