Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure datetimes can be properly serialized.
The nova-network manager was returning db models from methods invoked via rpc.call(). These db models include non-primitive types that can not be properly serialized (namely datetime objects). Use to_primitive() to ensure that the data gets serialized properly. Fix bug: #1089430 Change-Id: I0519e88444b8fcc3af5e43170ea07dd966ccef05 Signed-off-by: zhiyanliu <lzy.dev@gmail.com>
- Loading branch information