anmolbabu has posted comments on this change.
Change subject: gluster : In the task tab, size of rebalanced files is shown
with units
......................................................................
Patch Set 26:
(2 comments)
....................................................
File
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/utils/SizeConverter.java
Line 19:
Line 20: public static enum SizeUnit {
Line 21: BYTES(1),
Line 22: MB(3),
Line 23: KB(2),
Na, just to verify but forgot to change it back to the original state.will do
that in my next patch
Line 24: GB(4);
Line 25:
Line 26: private long unitWeight;
Line 27:
Line 29: private SizeUnit(long unitWeight) {
Line 30: this.unitWeight = unitWeight;
Line 31: }
Line 32:
Line 33: private static void initWeightToUnit() {
Done
Line 34: if(weightToUnit.size() == 0) {
Line 35: for (SizeUnit unit : SizeUnit.values()) {
Line 36: weightToUnit.add(new Pair<Long,
SizeConverter.SizeUnit>(unit.getUnitWeight(), unit));
Line 37: }
--
To view, visit http://gerrit.ovirt.org/20511
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iea6c90a098bfddfb616bc2b8ce58c9d0bb567f66
Gerrit-PatchSet: 26
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: anmolbabu <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shubhendu Tripathi <[email protected]>
Gerrit-Reviewer: anmolbabu <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches