From 61d254cd6c8dba065befe2d3db6167969103d5f9 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Fri, 23 Feb 2024 18:59:46 -0600 Subject: [PATCH] Add comment. --- stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py index 3178a668..d53ab55d 100644 --- a/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py +++ b/stack_orchestrator/deploy/webapp/deploy_webapp_from_registry.py @@ -93,6 +93,7 @@ def process_app_deployment_request( deployment_record = laconic.get_record(app_deployment_crn) deployment_dir = os.path.join(deployment_parent_dir, fqdn) deployment_config_file = os.path.join(deployment_dir, "config.env") + # TODO: Is there any reason not to simplify the hash input to the app_deployment_crn? deployment_container_unique_tag = "laconic-webapp/%s:local" % hashlib.md5(deployment_dir.encode()).hexdigest() deployment_container_shared_tag = f"laconic-webapp/{app.id}:local" # b. check for deployment directory (create if necessary)