[bugfix] fix nil pointer (#5527)

pull/5532/head
李国忠 4 years ago committed by GitHub
parent 2eebdff2e2
commit 2858ebde5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/lokifrontend/frontend/v2/frontend_scheduler_worker.go

@ -311,7 +311,7 @@ func (w *frontendSchedulerWorker) schedulerLoop(loop schedulerpb.SchedulerForFro
req.response <- &frontendv2pb.QueryResultRequest{
HttpResponse: &httpgrpc.HTTPResponse{
Code: http.StatusInternalServerError,
Body: []byte(err.Error()),
Body: []byte(resp.Error),
},
}

Loading…
Cancel
Save