refactor authentication (#1950)

This commit is contained in:
zryfish
2020-03-15 17:55:55 +08:00
committed by GitHub
parent abf0d66b22
commit eb8a3c0dc6
32 changed files with 522 additions and 381 deletions

View File

@@ -87,7 +87,7 @@ func getServiceTracing(request *restful.Request, response *restful.Response) {
if err != nil {
klog.Errorf("query jaeger faile with err %v", err)
api.HandleInternalError(response, err)
api.HandleInternalError(response, nil, err)
return
}
@@ -96,7 +96,7 @@ func getServiceTracing(request *restful.Request, response *restful.Response) {
if err != nil {
klog.Errorf("read response error : %v", err)
api.HandleInternalError(response, err)
api.HandleInternalError(response, nil, err)
return
}