kimchi-project / gingers390x

Wok plug-in focused in s390x management
Other
6 stars 8 forks source link

LUN Scanning 'configured' status should not be a boolean #5

Closed harche closed 8 years ago

harche commented 8 years ago

API to list detailed info on individual LUN has a field 'configured' to indicate if the LUN is configured or not. This value is sent as a boolean. Wok doesn't allow to filter the get_list data based on a boolean. This will result in 500 return status if LUNs are filtered on the parameter 'configured'.

To fix this, the value of the parameter 'configured' needs to be changed from a boolean to string representation of the boolean (i.e from True to 'true')