[model-gateway][cleanup] Fix wrong comment in manager.rs (#16601)
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user