Skip to content

Commit aa8fa9e

Browse files
committed
chore: update comment
1 parent 2f0ca73 commit aa8fa9e

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

extensions/business/container_apps/container_utils.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,15 +724,23 @@ def _normalize_extra_tunnel_config(self, container_port, config):
724724
"""
725725
Normalize extra tunnel config to standard format.
726726
727-
Supports simple string format: "token" (recommended)
728-
Dict keys can be strings or integers.
727+
Currently supports simple string format: "token"
728+
Named "tunnel config" for future extensibility (e.g., dict with engine, enabled, etc.)
729729
730730
Args:
731731
container_port: Container port (int)
732-
config: Token string
732+
config: Token string (future: could be dict with {"token": str, "engine": str, "enabled": bool})
733733
734734
Returns:
735-
str: Normalized token string
735+
str: Normalized token string (future: could return dict)
736+
737+
Note:
738+
This method is designed to be extended in the future to support more complex
739+
tunnel configurations beyond simple token strings, such as:
740+
- Different tunnel engines (cloudflare, ngrok, custom)
741+
- Per-tunnel enabled/disabled flags
742+
- Custom tunnel parameters
743+
For now, it only handles string tokens for simplicity.
736744
"""
737745
if isinstance(config, str):
738746
return config.strip()

0 commit comments

Comments
 (0)