Clear the whole account an adopted node gave when it converges (hq ADR 0100)
This commit is contained in:
@@ -118,7 +118,7 @@ func (i *Inventory) Converge(ctx context.Context, nodeName string) ([]string, er
|
||||
}
|
||||
if _, err := tx.Exec(ctx,
|
||||
`update node set adopted = false, adopted_since = null, converged_at = now(),
|
||||
held = null, reachable = null
|
||||
held = null, reachable = null, firewall = null, adoption_reported = null
|
||||
where id = $1`,
|
||||
node.ID); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user