Chore: Fix some spelling errors (#3976)

This commit is contained in:
zonescape 2024-11-06 17:27:06 +03:00 committed by yuhan6665
parent afc7ec5506
commit 71cfea8aae
10 changed files with 13 additions and 13 deletions

View file

@ -52,7 +52,7 @@ func newHTTPClient(ctxv context.Context, handler string, timeout time.Duration)
// MeasureDelay returns the delay time of the request to dest
func (s *pingClient) MeasureDelay() (time.Duration, error) {
if s.httpClient == nil {
panic("pingClient no initialized")
panic("pingClient not initialized")
}
req, err := http.NewRequest(http.MethodHead, s.destination, nil)
if err != nil {