Skip to content

Commit

Permalink
cmd/cloudflared/updater: fix dropped error (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs authored Dec 14, 2023
1 parent f2c4fdb commit fd5d826
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/cloudflared/updater/workers_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fd5d826

Please sign in to comment.