[model-gateway][cleanup] Fix wrong comment in manager.rs (#16601)

This commit is contained in:
Chang Su
2026-01-06 16:32:37 -08:00
committed by GitHub
parent dce8b0606c
commit 4f443f445a

View File

@@ -768,9 +768,8 @@ impl McpManager {
}
}
/// Generate a unique key for a server config
/// Generate a unique key for a server config based on its transport
pub fn server_key(config: &McpServerConfig) -> String {
// Extract URL from transport or use name
match &config.transport {
McpTransport::Streamable { url, .. } => url.clone(),
McpTransport::Sse { url, .. } => url.clone(),