This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/master by this push:
new 7d90652 quota: fix issue of QuotaType name (#3463)
7d90652 is described below
commit 7d90652dfa7967c1e614dcfbab077bf62cc552ea
Author: HuaDream <[email protected]>
AuthorDate: Fri Jul 5 16:10:17 2019 +0800
quota: fix issue of QuotaType name (#3463)
Fix issue of QuotaType name.
This bug causes Quota - Summary > Statement to show the incorrect name of
VM_DISK_BYTES_WRITE.
---
.../src/main/java/org/apache/cloudstack/quota/constant/QuotaTypes.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/framework/quota/src/main/java/org/apache/cloudstack/quota/constant/QuotaTypes.java
b/framework/quota/src/main/java/org/apache/cloudstack/quota/constant/QuotaTypes.java
index 2643ff3..13788f7 100644
---
a/framework/quota/src/main/java/org/apache/cloudstack/quota/constant/QuotaTypes.java
+++
b/framework/quota/src/main/java/org/apache/cloudstack/quota/constant/QuotaTypes.java
@@ -53,7 +53,7 @@ public class QuotaTypes extends UsageTypes {
quotaTypeList.put(VM_DISK_IO_READ, new QuotaTypes(VM_DISK_IO_READ,
"VM_DISK_IO_READ", "GB", "VM Disk usage(I/O Read)"));
quotaTypeList.put(VM_DISK_IO_WRITE, new QuotaTypes(VM_DISK_IO_WRITE,
"VM_DISK_IO_WRITE", "GB", "VM Disk usage(I/O Write)"));
quotaTypeList.put(VM_DISK_BYTES_READ, new
QuotaTypes(VM_DISK_BYTES_READ, "VM_DISK_BYTES_READ", "GB", "VM Disk usage(Bytes
Read)"));
- quotaTypeList.put(VM_DISK_BYTES_WRITE, new
QuotaTypes(VM_DISK_BYTES_WRITE, "VPN_USERS", "GB", "VM Disk usage(Bytes
Write)"));
+ quotaTypeList.put(VM_DISK_BYTES_WRITE, new
QuotaTypes(VM_DISK_BYTES_WRITE, "VM_DISK_BYTES_WRITE", "GB", "VM Disk
usage(Bytes Write)"));
quotaTypeList.put(VM_SNAPSHOT, new QuotaTypes(VM_SNAPSHOT,
"VM_SNAPSHOT", "GB-Month", "VM Snapshot storage usage"));
quotaTypeList.put(VOLUME_SECONDARY, new QuotaTypes(VOLUME_SECONDARY,
"VOLUME_SECONDARY", "GB-Month", "Volume secondary storage usage"));
quotaTypeList.put(VM_SNAPSHOT_ON_PRIMARY, new
QuotaTypes(VM_SNAPSHOT_ON_PRIMARY, "VM_SNAPSHOT_ON_PRIMARY", "GB-Month", "VM
Snapshot primary storage usage"));