diff --git a/client/admin_api.go b/client/admin_api.go index 76f3a0b..5bf41fd 100644 --- a/client/admin_api.go +++ b/client/admin_api.go @@ -74,7 +74,7 @@ func (svr *Service) apiReload(w http.ResponseWriter, r *http.Request) { return } - err = svr.ctl.ReloadConf(pxyCfgs, visitorCfgs) + err = svr.ReloadConf(pxyCfgs, visitorCfgs) if err != nil { res.Code = 4 res.Msg = err.Error()