Commit f0ae7dd
committed
style(opensearchtransport): name all OperationID String labels as constants
Replace the String() switch's string literals with a complete opName*
constant registry, and reference the constants from the discovery-flag
map and internal tests. One declaration per wire token; adding an
operation follows a fixed pattern and tooling can trace every use.
Signed-off-by: Sean Chittenden <sean.chittenden@crowdstrike.com>1 parent dd55b94 commit f0ae7dd
3 files changed
Lines changed: 298 additions & 197 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments