Commit a92953f
James Westby
Fix a crash bug when REST config can't be loaded
`discoveryClient` is uninitialized, so the pointer can't be deferenced,
so return an empty struct if there's an error.1 parent d2ceb54 commit a92953f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments