The type of cpu_mhz: long -> int
This commit is contained in:
parent
d272f9ad66
commit
2473c68df9
@ -62,7 +62,7 @@ class Database(object):
|
||||
order_by(self.vm_resource_usage.c.id.asc()). \
|
||||
limit(n)
|
||||
res = self.connection.execute(sel).fetchall()
|
||||
return [x[0] for x in res]
|
||||
return [int(x[0]) for x in res]
|
||||
|
||||
@contract
|
||||
def select_last_cpu_mhz_for_vms(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user