kubesaw / ksctl

ksctl is a command-line tool to manage your installation of KubeSaw
Apache License 2.0
4 stars 11 forks source link

fix 2.0: use default transport to mock http requests #22

Closed MatousJobanek closed 8 months ago

MatousJobanek commented 8 months ago

gock relies on the default transport that mocks

codecov[bot] commented 8 months ago

Codecov Report

Merging #22 (5d5e5a0) into master (f92e184) will increase coverage by 0.17%. Report is 4 commits behind head on master. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #22 +/- ## ========================================== + Coverage 65.28% 65.45% +0.17% ========================================== Files 38 38 Lines 1976 1986 +10 ========================================== + Hits 1290 1300 +10 Misses 528 528 Partials 158 158 ``` | [Files](https://app.codecov.io/gh/kubesaw/ksctl/pull/22?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubesaw) | Coverage Δ | | |---|---|---| | [pkg/client/client.go](https://app.codecov.io/gh/kubesaw/ksctl/pull/22?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubesaw#diff-cGtnL2NsaWVudC9jbGllbnQuZ28=) | `49.77% <100.00%> (+0.67%)` | :arrow_up: |