refactor: Run with config

This commit is contained in:
debugtalk
2021-09-22 20:12:33 +08:00
parent 4c2d7673fa
commit 9fb19da2ac
7 changed files with 13 additions and 10 deletions

View File

@@ -27,6 +27,6 @@ func (s *stepRequestValidation) Type() string {
return fmt.Sprintf("request-%v", s.step.Request.Method)
}
func (s *stepRequestValidation) Run() error {
func (s *stepRequestValidation) Run(config *TConfig) error {
return s.runner.runStep(s.step)
}