Skip to content

Commit

Permalink
feat(xo-server/rest-api): expose VM controllers' VDIs
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-f committed Sep 20, 2024
1 parent 21bd739 commit 7e14152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-server/src/xo-mixins/rest-api.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export default class RestApi {
)
}

for (const collection of ['vms', 'vm-snapshots', 'vm-templates']) {
for (const collection of ['vms', 'vm-controllers', 'vm-snapshots', 'vm-templates']) {
collections[collection].routes.vdis = vdis
}
}
Expand Down

0 comments on commit 7e14152

Please sign in to comment.