From ddba189aec34195b02461a260e201cfad39a2a8a Mon Sep 17 00:00:00 2001 From: medcl Date: Thu, 19 Oct 2023 14:30:33 +0800 Subject: [PATCH] ack after revoke --- modules/agent/api/tod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/agent/api/tod.go b/modules/agent/api/tod.go index a101b391..0a457bbc 100644 --- a/modules/agent/api/tod.go +++ b/modules/agent/api/tod.go @@ -322,6 +322,7 @@ func (h *APIHandler) revokeESNode(w http.ResponseWriter, req *http.Request, ps h h.WriteError(w, err.Error(), http.StatusInternalServerError) return } + h.WriteAckOKJSON(w) } func (h *APIHandler) enrollESNode(w http.ResponseWriter, req *http.Request, ps httprouter.Params) {