craton host-list --detail fails

Bug #1670720 reported by git-harry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Craton's Python Client
New
Undecided
Unassigned

Bug Description

# craton host-list --detail
ERROR: Bad Request (HTTP 400) (Request-ID: req-16d80b3b-4c09-4848-903b-1b252873b5e8)

craton logs
172.17.0.1 - - [07/Mar/2017 15:04:15] "GET /v1/hosts?detail=True&sort_dir=asc HTTP/1.1" 400 120

The client is adding "detail=True" however craton expects "details=true".

It also looks like a number of the client commands are impacted:

# git grep detail | grep param
cratonclient/shell/v1/cells_shell.py: params['detail'] = args.detail
cratonclient/shell/v1/clouds_shell.py: params['detail'] = args.detail
cratonclient/shell/v1/devices_shell.py: params['detail'] = args.detail
cratonclient/shell/v1/hosts_shell.py: params['detail'] = args.detail
cratonclient/shell/v1/regions_shell.py: params['detail'] = args.detail

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.