Merge "Ensure datetimes can be properly serialized."
This commit is contained in:
commit
551fad9a31
@ -1919,7 +1919,7 @@ class NetworkManager(manager.SchedulerDependentManager):
|
||||
@wrap_check_policy
|
||||
def get_network(self, context, network_uuid):
|
||||
network = self.db.network_get_by_uuid(context.elevated(), network_uuid)
|
||||
return dict(network.iteritems())
|
||||
return jsonutils.to_primitive(network)
|
||||
|
||||
@wrap_check_policy
|
||||
def get_all_networks(self, context):
|
||||
|
Loading…
x
Reference in New Issue
Block a user