dhcp: migrate leases to be scope scoped instead of global #1304
48.11% of diff hit (target 61.15%)
View this Pull Request on Codecov
48.11% of diff hit (target 61.15%)
Annotations
Check warning on line 13 in cmd/cli/cli_health.go
codecov / codecov/patch
cmd/cli/cli_health.go#L13
Added line #L13 was not covered by tests
Check warning on line 44 in pkg/extconfig/log.go
codecov / codecov/patch
pkg/extconfig/log.go#L43-L44
Added lines #L43 - L44 were not covered by tests
Check warning on line 30 in pkg/instance/api_instance.go
codecov / codecov/patch
pkg/instance/api_instance.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 54 in pkg/roles/dhcp/api_leases.go
codecov / codecov/patch
pkg/roles/dhcp/api_leases.go#L52-L54
Added lines #L52 - L54 were not covered by tests
Check warning on line 174 in pkg/roles/dhcp/api_leases.go
codecov / codecov/patch
pkg/roles/dhcp/api_leases.go#L164-L174
Added lines #L164 - L174 were not covered by tests
Check warning on line 180 in pkg/roles/dhcp/api_leases.go
codecov / codecov/patch
pkg/roles/dhcp/api_leases.go#L176-L180
Added lines #L176 - L180 were not covered by tests
Check warning on line 195 in pkg/roles/dhcp/api_leases.go
codecov / codecov/patch
pkg/roles/dhcp/api_leases.go#L182-L195
Added lines #L182 - L195 were not covered by tests
Check warning on line 197 in pkg/roles/dhcp/api_leases.go
codecov / codecov/patch
pkg/roles/dhcp/api_leases.go#L197
Added line #L197 was not covered by tests
Check warning on line 86 in pkg/roles/dhcp/api_scopes.go
codecov / codecov/patch
pkg/roles/dhcp/api_scopes.go#L85-L86
Added lines #L85 - L86 were not covered by tests
Check warning on line 22 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L15-L22
Added lines #L15 - L22 were not covered by tests
Check warning on line 30 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L24-L30
Added lines #L24 - L30 were not covered by tests
Check warning on line 39 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L32-L39
Added lines #L32 - L39 were not covered by tests
Check warning on line 59 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L44-L59
Added lines #L44 - L59 were not covered by tests
Check warning on line 67 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L61-L67
Added lines #L61 - L67 were not covered by tests
Check warning on line 71 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L69-L71
Added lines #L69 - L71 were not covered by tests
Check warning on line 89 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L77-L89
Added lines #L77 - L89 were not covered by tests
Check warning on line 119 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L91-L119
Added lines #L91 - L119 were not covered by tests
Check warning on line 121 in pkg/roles/dhcp/role_migrations.go
codecov / codecov/patch
pkg/roles/dhcp/role_migrations.go#L121
Added line #L121 was not covered by tests
Check warning on line 25 in pkg/roles/dhcp/scope_selector.go
codecov / codecov/patch
pkg/roles/dhcp/scope_selector.go#L22-L25
Added lines #L22 - L25 were not covered by tests
Check warning on line 175 in pkg/roles/dhcp/scopes.go
codecov / codecov/patch
pkg/roles/dhcp/scopes.go#L175
Added line #L175 was not covered by tests
Check warning on line 182 in pkg/roles/dhcp/scopes.go
codecov / codecov/patch
pkg/roles/dhcp/scopes.go#L181-L182
Added lines #L181 - L182 were not covered by tests
Check warning on line 199 in pkg/roles/dhcp/scopes.go
codecov / codecov/patch
pkg/roles/dhcp/scopes.go#L195-L199
Added lines #L195 - L199 were not covered by tests
Check warning on line 224 in pkg/roles/dhcp/scopes.go
codecov / codecov/patch
pkg/roles/dhcp/scopes.go#L221-L224
Added lines #L221 - L224 were not covered by tests
Check warning on line 27 in pkg/roles/dhcp/scopes_watch.go
codecov / codecov/patch
pkg/roles/dhcp/scopes_watch.go#L26-L27
Added lines #L26 - L27 were not covered by tests
Check warning on line 33 in pkg/roles/dhcp/scopes_watch.go
codecov / codecov/patch
pkg/roles/dhcp/scopes_watch.go#L33
Added line #L33 was not covered by tests