mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 06:33:18 +02:00
fix(agent): correct usage of task in StartAgentServer and updated test expectations
This commit is contained in:
@@ -39,5 +39,5 @@ func StartAgentServer(parent task.Parent, opt Options) {
|
||||
TLSConfig: tlsConfig,
|
||||
}
|
||||
|
||||
server.Start(parent, agentServer, server.WithLogger(&log.Logger))
|
||||
server.Start(parent.Subtask("agent-server", false), agentServer, server.WithLogger(&log.Logger))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user