simplified

This commit is contained in:
yaziming
2020-05-22 15:29:14 +08:00
parent e2c876865b
commit 92a69b219b

View File

@@ -93,7 +93,9 @@ func UpdateNodeStatus() {
},
}, bson.M{
"$set": bson.M{
"status": constants.StatusOffline,
"status": constants.StatusOffline,
"update_ts": time.Now(),
"update_ts_unix": time.Now().Unix(),
},
})
if err != nil {