add context to pipeline

This commit is contained in:
medcl 2023-03-28 19:01:58 +08:00
parent 69cf1d67a9
commit 05cc6fd9d2
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ func (module *Module) initialize(w http.ResponseWriter, r *http.Request, ps http
username = cfg.BasicAuth.Username
password = cfg.BasicAuth.Password
}
_,err,_:=replay.ReplayLines(pipeline.AcquireContext(),lines,cfg.Schema,cfg.Host,username,password)
_,err,_:=replay.ReplayLines(pipeline.AcquireContext(pipeline.PipelineConfigV2{}),lines,cfg.Schema,cfg.Host,username,password)
if err!=nil{
log.Error(err)
}