cmd/cloudflared/updater: fix dropped error (#1055)
This commit is contained in:
parent
f2c4fdb0ae
commit
fd5d8260bb
|
@ -56,6 +56,9 @@ func (s *WorkersService) Check() (CheckResult, error) {
|
|||
}
|
||||
|
||||
req, err := http.NewRequest(http.MethodGet, s.url, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
q := req.URL.Query()
|
||||
q.Add(OSKeyName, runtime.GOOS)
|
||||
q.Add(ArchitectureKeyName, runtime.GOARCH)
|
||||
|
|
Loading…
Reference in New Issue