From 4f58983290253423db4105cf0779053c5c50e93b Mon Sep 17 00:00:00 2001 From: jyejare Date: Thu, 11 Jan 2024 18:34:14 +0530 Subject: [PATCH] Version setting is now product_version --- candore/modules/api_lister.py | 2 +- settings.yaml.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/candore/modules/api_lister.py b/candore/modules/api_lister.py index 7e53695..a365140 100644 --- a/candore/modules/api_lister.py +++ b/candore/modules/api_lister.py @@ -5,7 +5,7 @@ class APILister: def __init__(self, settings): self.explorer = AsyncExplorer( name=settings.candore.product_name, - version=settings.candore.version, + version=settings.candore.product_version, host_url=settings.candore.base_url, base_path=settings.candore.docpath, parser=settings.candore.parser, diff --git a/settings.yaml.template b/settings.yaml.template index 0be28cb..e56b247 100644 --- a/settings.yaml.template +++ b/settings.yaml.template @@ -3,7 +3,7 @@ candore: username: password: product_name: satellite - version: 6.14 + product_version: 6.14 docpath: /apidoc parser: apipie var_file: "@jinja conf/variations/{{this.candore.version | replace('.', '_')}}.yaml"