Limit functionality only partially implemented for listing hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
craton |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The ('hosts', 'GET') schema advertises support for limiting the number of returned results [1]. There are also references to this in other parts of the code and the documentation. It appears this functionality has only been partially implemented, there is no where the limit is actually used. Depending on the priority of the ability to limit the results returned this feature should either be fixed or removed to prevent confusion and properly implemented at a later date.
Example of attempted use of limit:
```
curl "http://
[
{
"active": true,
"cell_id": 1,
"id": 2,
"name": "host0.
"note": null,
},
{
"active": true,
"cell_id": 1,
"id": 4,
"name": "host0.
"note": null,
},
{
"active": true,
"cell_id": 2,
"id": 7,
"name": "host0.
```
[1] https:/
Changed in craton: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in craton: | |
status: | Confirmed → Fix Released |
milestone: | none → v0.1.0 |