diff --git a/tools/generate_doc_confpy.py b/tools/generate_doc_confpy.py index 952554b..52a5460 100644 --- a/tools/generate_doc_confpy.py +++ b/tools/generate_doc_confpy.py @@ -215,7 +215,7 @@ def process_repositories(args, service): context["service_category"] = service['service_category'] context["service_title"] = service['service_title'] context["service_type"] = service['service_type'] - context["service_environment"] = cloud_environment["visibility"] + context["service_environment"] = args.target_environment context["otcdocs_cloud_environment"] = args.cloud_environment conf_py_content = conf_py_template.render(**context)