hetznercloud / hcloud-go

A Go library for the Hetzner Cloud API
https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2/hcloud
MIT License
371 stars 45 forks source link

fix(exp): allow request path matching in the want function #475

Closed jooola closed 2 months ago

jooola commented 2 months ago

If the Request.Path value is not set, this allows the path matching to happen in the Request.Want function.

We sometimes have random values in the URL that require more advanced paths matching.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.40%. Comparing base (7ac80d7) to head (ddff5ab).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #475 +/- ## ========================================== + Coverage 71.33% 71.40% +0.06% ========================================== Files 45 45 Lines 3862 3864 +2 ========================================== + Hits 2755 2759 +4 + Misses 692 691 -1 + Partials 415 414 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.