mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2025-08-23 14:23:05 +00:00
fix bug
This commit is contained in:
@@ -12,8 +12,8 @@ type Tool struct {
|
|||||||
|
|
||||||
func New() *Tool {
|
func New() *Tool {
|
||||||
return &Tool{
|
return &Tool{
|
||||||
write: make([]server.ServerTool, 100),
|
write: make([]server.ServerTool, 0, 100),
|
||||||
read: make([]server.ServerTool, 100),
|
read: make([]server.ServerTool, 0, 100),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user