gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo if needed #7035
84.70% of diff hit (target 82.45%)
View this Pull Request on Codecov
84.70% of diff hit (target 82.45%)
Annotations
Check warning on line 51 in internal/balancer/gracefulswitch/config.go
codecov / codecov/patch
internal/balancer/gracefulswitch/config.go#L50-L51
Added lines #L50 - L51 were not covered by tests
Check warning on line 55 in internal/balancer/gracefulswitch/config.go
codecov / codecov/patch
internal/balancer/gracefulswitch/config.go#L54-L55
Added lines #L54 - L55 were not covered by tests
Check warning on line 141 in internal/balancer/gracefulswitch/gracefulswitch.go
codecov / codecov/patch
internal/balancer/gracefulswitch/gracefulswitch.go#L141
Added line #L141 was not covered by tests
Check warning on line 181 in internal/balancer/gracefulswitch/gracefulswitch.go
codecov / codecov/patch
internal/balancer/gracefulswitch/gracefulswitch.go#L180-L181
Added lines #L180 - L181 were not covered by tests
Check warning on line 197 in service_config.go
codecov / codecov/patch
service_config.go#L196-L197
Added lines #L196 - L197 were not covered by tests