EOX GitLab Instance

Commit 72dfa09f authored by Fabian Schindler's avatar Fabian Schindler
Browse files

core: Fixing typo in registrar

parent b053ef41
...@@ -213,7 +213,7 @@ class EOxServerBackend(Backend): ...@@ -213,7 +213,7 @@ class EOxServerBackend(Backend):
product_type_obj, _ = create_product_type_from_stac_item( product_type_obj, _ = create_product_type_from_stac_item(
item.to_dict(), item.to_dict(),
product_type_name=product_type['product_type'], product_type_name=product_type['name'],
ignore_existing=True, ignore_existing=True,
coverage_mapping=product_type.get('coverages', {}) coverage_mapping=product_type.get('coverages', {})
) )
...@@ -273,7 +273,7 @@ class EOxServerBackend(Backend): ...@@ -273,7 +273,7 @@ class EOxServerBackend(Backend):
raise RegistrationError(f'{item} not matched to any product_type') raise RegistrationError(f'{item} not matched to any product_type')
logger.info( logger.info(
f'Registering into EOxServer for type ' f'Registering into EOxServer for type '
f'"{product_type["product_type"]}"' f'"{product_type["name"]}"'
) )
product = self._register_with_stac( product = self._register_with_stac(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment