fix: [AH-431]: fix manifests request (#2817)

* fix: [AH-431]: fix manifests request
pull/3576/head
Tudor Macari 2024-10-15 16:06:50 +00:00 committed by Harness
parent 950c917947
commit bdf84d4941
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ func (c *APIController) ProcessManifest(
regInfo *RegistryRequestBaseInfo,
image, version string,
) ([]artifact.DockerManifestDetails, error) {
registry, err := c.RegistryRepository.Get(ctx, regInfo.rootIdentifierID)
registry, err := c.RegistryRepository.GetByParentIDAndName(ctx, regInfo.parentID, regInfo.RegistryIdentifier)
if err != nil {
return nil, err
}