domain: Fix details performance page graph scaling

This was busted in a88a28d0

https://bugzilla.redhat.com/show_bug.cgi?id=1823218

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson
2020-09-10 17:10:57 -04:00
parent ac8591192f
commit 5643a560d5
2 changed files with 6 additions and 4 deletions

View File

@@ -109,8 +109,6 @@ class _VMStatsList(vmmGObject):
return vector
def get_in_out_vector(self, name1, name2, limit, ceil):
if ceil is None:
ceil = max(self.get_record(name1), self.get_record(name2), 10.0)
return (self.get_vector(name1, limit, ceil=ceil),
self.get_vector(name2, limit, ceil=ceil))