Update pkg/doctor/doctor.go

Co-authored-by: John Gibb <johngibb@gmail.com>
This commit is contained in:
MrBeanDev 2026-02-15 14:22:27 +05:30 committed by GitHub
parent 587a90228e
commit 8770a15fa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,7 +252,7 @@ func (d *Doctor) testProviderConnectivity() {
}
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
req, _ := http.NewRequestWithContext(ctx, "GET", url, nil)
req, _ := http.NewRequestWithContext(ctx, http.MethodGET, url, nil)
resp, err := client.Do(req)
cancel()