diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 254dc6a..bdf1914 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -31,6 +31,8 @@ CHANGELOG content of the files first has to converted to a JSON object. This commit also implements simple error handling in case the files do not exists or can not be created. +- The version API-endpoint now correctly reports the version of IntelMQ API + as ``intelmq-api``, not as ``intelmq-manager`` (by Sebastian Wagner). 2.3.1 (2021-03-25) diff --git a/intelmq_api/runctl.py b/intelmq_api/runctl.py index e0f3b0b..1016bb9 100644 --- a/intelmq_api/runctl.py +++ b/intelmq_api/runctl.py @@ -121,7 +121,7 @@ def list(self, kind: str) -> JSONFile: def version(self) -> Dict[str, str]: intelmq_version = self._run_str(["--version"]).strip() return {"intelmq": intelmq_version, - "intelmq-manager": __version__, + "intelmq-api": __version__, } def check(self) -> JSONFile: