mirror of
https://github.com/luscis/openlan.git
synced 2025-11-03 09:40:50 +08:00
fea: support add findhop.
This commit is contained in:
@@ -31,7 +31,7 @@ func (h PProf) Add(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
pp := &schema.PProf{}
|
||||
if err := GetData(r, pp); err != nil {
|
||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||
http.Error(w, err.Error(), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user