Browse Source

fixing postdown for gateway

afeiszli 4 years ago
parent
commit
2130fa08a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/nodeHttpController.go

+ 1 - 1
controllers/nodeHttpController.go

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