Commit adbb741
Fix TryGetLocationForGatewayDiagnostics returning true for unknown endpoints
The fallthrough path returned 'true' unconditionally after calling
GetLocation, even when GetLocation returned null for unrecognized
endpoints. Changed to 'return regionName != null' to match the
contract and the default-endpoint branch.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b2ea3f0 commit adbb741
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| |||
0 commit comments