commit 9a974bc169afb66b76761c1f1b95004ca039724d
Author: Alexander Bochkarev <email address hidden>
Date: Mon Aug 8 15:05:57 2016 +0300
Invalid api response in case all graphs deleted
In the current implementation of the method 'to_list'
all object instances are serialized regardless what
the variable 'iterable' is: None or [].
This patch allows to correctly handle such situations.
In case if the variable 'iterable' is None all object
instances are serialized, otherwise only selected from db.
Reviewed: https:/ /review. openstack. org/352387 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=9a974bc169a fb66b76761c1f1b 95004ca039724d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9a974bc169afb66 b76761c1f1b9500 4ca039724d
Author: Alexander Bochkarev <email address hidden>
Date: Mon Aug 8 15:05:57 2016 +0300
Invalid api response in case all graphs deleted
In the current implementation of the method 'to_list'
all object instances are serialized regardless what
the variable 'iterable' is: None or [].
This patch allows to correctly handle such situations.
In case if the variable 'iterable' is None all object
instances are serialized, otherwise only selected from db.
Change-Id: I7b9913f364cfab 085a8c94aec1435 286a8e877f3
Closes-Bug: #1609290