优化代码

This commit is contained in:
GoEdgeLab
2022-04-23 13:26:15 +08:00
parent 777732d98d
commit 14d1438ab6
2 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ func TestNodeIPAddressDAO_UpdateAddressHealthCount(t *testing.T) {
dbs.NotifyReady()
var tx *dbs.Tx
isChanged, err := SharedNodeIPAddressDAO.UpdateAddressHealthCount(tx, 1, true, 3, 3)
isChanged, err := SharedNodeIPAddressDAO.UpdateAddressHealthCount(tx, 1, true, 3, 3, false)
if err != nil {
t.Fatal(err)
}