Commit d06c632
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 b65b3b5 commit d06c632
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 | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments