provider: prioritize roots and introduce NewPrioritizedProvider #595
40.00% of diff hit (target 59.78%)
View this Pull Request on Codecov
40.00% of diff hit (target 59.78%)
Annotations
Check warning on line 75 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L75
Added line #L75 was not covered by tests
Check warning on line 83 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L82-L83
Added lines #L82 - L83 were not covered by tests
Check warning on line 85 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L85
Added line #L85 was not covered by tests
Check warning on line 92 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L88-L92
Added lines #L88 - L92 were not covered by tests
Check warning on line 96 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L96
Added line #L96 was not covered by tests
Check warning on line 98 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L98
Added line #L98 was not covered by tests
Check warning on line 101 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L101
Added line #L101 was not covered by tests
Check warning on line 106 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L104-L106
Added lines #L104 - L106 were not covered by tests
Check warning on line 115 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L110-L115
Added lines #L110 - L115 were not covered by tests
Check warning on line 117 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L117
Added line #L117 was not covered by tests
Check warning on line 122 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L120-L122
Added lines #L120 - L122 were not covered by tests
Check warning on line 141 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L140-L141
Added lines #L140 - L141 were not covered by tests
Check warning on line 146 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L145-L146
Added lines #L145 - L146 were not covered by tests
Check warning on line 158 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L157-L158
Added lines #L157 - L158 were not covered by tests
Check warning on line 172 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L170-L172
Added lines #L170 - L172 were not covered by tests
Check warning on line 177 in provider/provider.go
codecov / codecov/patch
provider/provider.go#L176-L177
Added lines #L176 - L177 were not covered by tests