fixing postdown for gateway

This commit is contained in:
afeiszli
2021-04-13 16:23:52 -04:00
parent c636cfb751
commit 2130fa08a9

View File

@@ -615,7 +615,7 @@ func createGateway(w http.ResponseWriter, r *http.Request) {
update := bson.D{ update := bson.D{
{"$set", bson.D{ {"$set", bson.D{
{"postup", nodechange.PostUp}, {"postup", nodechange.PostUp},
{"preup", nodechange.PostDown}, {"postdown", nodechange.PostDown},
{"isgateway", nodechange.IsGateway}, {"isgateway", nodechange.IsGateway},
{"gatewayrange", nodechange.GatewayRange}, {"gatewayrange", nodechange.GatewayRange},
{"lastmodified", nodechange.LastModified}, {"lastmodified", nodechange.LastModified},