Is the "empty body" of request or response ?
Empty body of the *response* has to be also handled:
* $ murano environment-create dummy +----------------------------------+-------+---------------------+---------------------+ | ID | Name | Created | Updated | +----------------------------------+-------+---------------------+---------------------+ | db98819a639b4235b401763c3f8c3d81 | dummy | 2015-02-25T09:21:38 | 2015-02-25T09:21:38 | +----------------------------------+-------+---------------------+---------------------+
* $ murano service-show db98819a639b4235b401763c3f8c3d81 / 'list' object has no attribute 'items'
The reason is that muranoclient/common/http.py json_request(..) return None on the empty list of env's services.
Is the "empty body" of request or response ?
Empty body of the *response* has to be also handled:
* $ murano environment-create dummy ------- ------- ------- ------- +------ -+----- ------- ------- --+---- ------- ------- ---+ ------- ------- ------- ------- +------ -+----- ------- ------- --+---- ------- ------- ---+ 5b401763c3f8c3d 81 | dummy | 2015-02-25T09:21:38 | 2015-02-25T09:21:38 | ------- ------- ------- ------- +------ -+----- ------- ------- --+---- ------- ------- ---+
+------
| ID | Name | Created | Updated |
+------
| db98819a639b423
+------
* $ murano service-show db98819a639b423 5b401763c3f8c3d 81 /
'list' object has no attribute 'items'
The reason is that muranoclient/ common/ http.py json_request(..) return None on the empty list of env's services.