Hi, all. As we know, the "index()" method usually return object list and
the "show()" method return an object for detail in api's controller. But I
found in our InstanceUsageAuditLogController[1], the 'index' method return
an object, I'm really not sure that index() is buggy, and I wonder what it
is intended to do and what might be needed to fix it.

Some discussion about this topic: https://review.openstack.org/#/c/409413/
.

Thanks for your attention.


[1]
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/instance_usage_audit_log.py#L43
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to