Commit 1fc0f4b
authored
ratelimit: link legacy proto when message is being used (#4308)
Signed-off-by: Jose Nino jnino@lyft.com
Description: the legacy ratelimit message is selectively used, so it is not linked by default. Previous to #4233 we had forced linking. In #4233 linking was forced while running tests, but --understandably so -- not in production code. This means that when this path is executed on a compiled binary, we would get a segfault due to a failure to resolved the service_method_ here.
Risk Level: medium, fixes a crash
Testing: Fixed the concrete repro showing the invalid reference on gdb, turn into a valid reference.1 parent aa4481e commit 1fc0f4b
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
0 commit comments