diff --git a/pkg/runner/checker.go b/pkg/runner/checker.go index 90048707..af5c9390 100644 --- a/pkg/runner/checker.go +++ b/pkg/runner/checker.go @@ -725,7 +725,7 @@ func (c *Checker) checkURL(target string) (string, error) { } else if shouldCountHostError(err) { c.Options.Targets.UpdateNum(target, 1) } - return target, fmt.Errorf("%s check protocol falied", target) + return target, fmt.Errorf("%s check protocol failed", target) } // if target is url more than zero, then check protocol against diff --git a/pkg/runner/monitor.go b/pkg/runner/monitor.go index c2ce9e6c..e497697a 100644 --- a/pkg/runner/monitor.go +++ b/pkg/runner/monitor.go @@ -110,7 +110,7 @@ func (r *Runner) checkURL(target string) (string, error) { } else if shouldCountHostError(err) { r.options.Targets.UpdateNum(target, 1) } - return target, fmt.Errorf("%s check protocol falied", target) + return target, fmt.Errorf("%s check protocol failed", target) } // if target is url more than zero, then check protocol against