Commit 07d7e374 authored by Juergen Enge's avatar Juergen Enge
Browse files

testurl renamed to testdata

parent 4188fd5d
Pipeline #15433 passed with stages
in 4 minutes and 10 seconds
......@@ -20,7 +20,7 @@ import (
"strings"
)
func (ms *memoServer) TestUrl(w http.ResponseWriter, req *http.Request) {
func (ms *memoServer) TestData(w http.ResponseWriter, req *http.Request) {
query := req.URL.Query()
var mediatype string
types, ok := query["type"]
......@@ -128,8 +128,8 @@ func (ms *memoServer) commandHandler(w http.ResponseWriter, req *http.Request) {
}
switch cmd {
case "testurl":
ms.TestUrl(w, req)
case "testdata":
ms.TestData(w, req)
case "clearcache":
ms.ClearCache()
ms.log.Info("cache cleared")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment