mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 8866: ignore network usage for system account
This commit is contained in:
parent
341e553b8a
commit
42a9c49712
@ -668,7 +668,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
||||
String publicIp = st.nextToken();
|
||||
//Find the account owning the IP
|
||||
IPAddressVO ipaddress = _ipAddressDao.findByIpAddress(publicIp);
|
||||
if(ipaddress == null){
|
||||
if(ipaddress == null || ipaddress.getAccountId() == Account.ACCOUNT_ID_SYSTEM){
|
||||
continue;
|
||||
}
|
||||
Long bytesSent = new Long(st.nextToken());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user