Private
Public Access
1
0

Allow specifying --agent none to mean no agent

This commit is contained in:
2024-09-23 03:04:43 +00:00
parent a46d211e10
commit 172bfc57e1
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ func (c *Context) GetAgents() (agents []string) {
}
func (c *Context) GetAgent(name string) *Agent {
if name == "" {
if name == "" || name == "none" {
return nil
}