Add local agent, only for images

This commit is contained in:
Deluan
2022-12-30 23:52:53 -05:00
committed by Deluan Quintão
parent 387acc5f63
commit bf461473ef
15 changed files with 134 additions and 76 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func New(ds model.DataStore) *Agents {
if conf.Server.Agents != "" {
order = strings.Split(conf.Server.Agents, ",")
}
order = append(order, PlaceholderAgentName)
order = append(order, LocalAgentName)
var res []Interface
for _, name := range order {
init, ok := Map[name]