Skip to content

Commit

Permalink
minor enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Dec 4, 2023
1 parent 18738a5 commit 340e76b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

2.0.0rc9 (2023-12-04)
---------------------

- Enhancement: OCI image documentation. [jensens]
- Enhancement: Strip trailing slash from ``PLONE_SERVICE`` URL. [jensens]


2.0.0rc8 (2023-12-01)
---------------------

Expand Down
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ CELERY_LOGLEVEL
The `MAPPINGS_FILE` variable defaults to `/configuration/mappings.json`.
By default no file is present.
When a mount is provided to `/configuration`, the mappings file can be placed there.
Alternatively, the mappings file can be provided as a `configs element in docker compose <https://docs.docker.com/compose/compose-file/08-configs/>`_ or as a `configmap <>`_ in Kubernetes.

Examples
========
Expand Down
2 changes: 1 addition & 1 deletion src/collective/elastic/ingest/plone.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


def _full_url(path):
return "/".join([str(os.environ.get("PLONE_SERVICE")), path.strip("/")])
return "/".join([str(os.environ.get("PLONE_SERVICE")).strip("/"), path.strip("/")])


def _schema_url():
Expand Down

0 comments on commit 340e76b

Please sign in to comment.