[Minor] param id fix in ResourceSystemStateFromJson
This commit is contained in:
parent
8e8e1cd36f
commit
30a2f38732
|
@ -271,7 +271,7 @@ public class ResourceSystemStateFromJson {
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
||||||
value, true);
|
value, true);
|
||||||
if (this.usableSpaceState)
|
if (this.usableSpaceState)
|
||||||
setOrAddState(resource, bagId + USABLE_SPACE + "State", "Usable Space",
|
setOrAddState(resource, bagId + "_" + USABLE_SPACE + "State", "Usable Space",
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
||||||
LONG, value);
|
LONG, value);
|
||||||
}
|
}
|
||||||
|
@ -283,7 +283,7 @@ public class ResourceSystemStateFromJson {
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
||||||
value, true);
|
value, true);
|
||||||
if (this.usedSpaceState)
|
if (this.usedSpaceState)
|
||||||
setOrAddState(resource, bagId + USED_SPACE + "State", "Used Space",
|
setOrAddState(resource, bagId + "_" + USED_SPACE + "State", "Used Space",
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
||||||
LONG, value);
|
LONG, value);
|
||||||
}
|
}
|
||||||
|
@ -295,7 +295,7 @@ public class ResourceSystemStateFromJson {
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(), LONG,
|
||||||
value, true);
|
value, true);
|
||||||
if (this.freeSpaceState)
|
if (this.freeSpaceState)
|
||||||
setOrAddState(resource, bagId + FREE_SPACE + "State", "Free Space",
|
setOrAddState(resource, bagId + "_" + FREE_SPACE + "State", "Free Space",
|
||||||
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
this.storageSpaceRoundingUnit.getInterpretation(), this.storageSpaceRoundingUnit.getUom(),
|
||||||
LONG, value);
|
LONG, value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue