Commit 375f990
authored
fix: get-modules uses /v1/bdbs/{id} module_list instead of 404 endpoint (#900)
The /v1/bdbs/{id}/modules endpoint is not supported on all Redis
Enterprise clusters, causing a 404. The module data is available on
the database object itself as module_list.
Fetches /v1/bdbs/{id} and extracts the module_list field instead.
Fixes #896.1 parent b762713 commit 375f990
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
1180 | 1183 | | |
1181 | 1184 | | |
1182 | 1185 | | |
| |||
1185 | 1188 | | |
1186 | 1189 | | |
1187 | 1190 | | |
1188 | | - | |
1189 | | - | |
| 1191 | + | |
| 1192 | + | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | 1195 | | |
1193 | | - | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1194 | 1202 | | |
1195 | 1203 | | |
1196 | 1204 | | |
| |||
0 commit comments