Skip to content

Commit 1f8dbfe

Browse files
docs: make git_monitor pin comment self-contained
1 parent 115e367 commit 1f8dbfe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

operations-manager/python/opi/core/git_monitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ async def check_and_create_namespaces(project_data: dict[str, Any]) -> bool:
3939
"""
4040
kubectl = create_kubectl_connector()
4141

42-
# Bypasses ProjectManager.get_deployments, so pin here too.
42+
# Pin the namespace ourselves: this path reads project_data straight
43+
# from git, not via ProjectManager.get_deployments where the pin lives.
4344
enforce_namespace_pin(project_data)
4445

4546
project_name = project_data.get("name")

0 commit comments

Comments
 (0)