Implements updating complete bw usage data

the DB query is not filtering by the mac address.
Hence, only one of them was being updated and
with mismatched bw usage info.
fixes bug 1021961
Change-Id: I792493a6e0817d62bbf6955df9cd5bc0e4af9dbb
This commit is contained in:
Nikhil Komawar
2012年07月06日 18:22:56 -04:00
parent 45a6a91e89
commit 642ec634c3

View File

@@ -4371,6 +4371,7 @@ def bw_usage_update(context,
session=session, read_deleted="yes").\
filter_by(start_period=start_period).\
filter_by(uuid=uuid).\
filter_by(mac=mac).\
first()
if not bwusage:
Reference in New Issue
openstack/nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.