Change-Id: I3b0e80611d5cd800fe2ffc78e1c71765d19bcf23
Signed-off-by: gomezchavez <guillermo.gomez.external@atos.net>
msg = f"Unexpected descriptor format {descriptor_dict}"
self._logger.error(msg)
raise ValueError(msg)
-
- fields["name"] = aux_dict.get("name")
+ # Repo search is based on 'name' entry in index.yaml. It is mandatory then
+ fields["name"] = aux_dict.get("name", aux_dict["product-name"])
fields["id"] = aux_dict.get("id")
fields["description"] = aux_dict.get("description")
fields["vendor"] = aux_dict.get("vendor")