diff --git a/command/agent/kvs_endpoint.go b/command/agent/kvs_endpoint.go index dfcce3025f..48d9ce19d5 100644 --- a/command/agent/kvs_endpoint.go +++ b/command/agent/kvs_endpoint.go @@ -145,6 +145,7 @@ func (s *HTTPServer) KVSPut(resp http.ResponseWriter, req *http.Request, args *s Value: nil, }, } + applyReq.Token = args.Token // Check for flags params := req.URL.Query() @@ -215,6 +216,7 @@ func (s *HTTPServer) KVSDelete(resp http.ResponseWriter, req *http.Request, args Key: args.Key, }, } + applyReq.Token = args.Token // Check for recurse params := req.URL.Query()