From 2130fa08a984dc131c295ca5cf90f1672d618e7f Mon Sep 17 00:00:00 2001 From: afeiszli Date: Tue, 13 Apr 2021 16:23:52 -0400 Subject: [PATCH] fixing postdown for gateway --- controllers/nodeHttpController.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nodeHttpController.go b/controllers/nodeHttpController.go index bb647a4d..9b2e551c 100644 --- a/controllers/nodeHttpController.go +++ b/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},