Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/runner/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/runner/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down