Skip to content

Commit e8dec74

Browse files
authored
Merge pull request #1755 from afumagalli98/added-mem-used-bare-metal
Added memory used on exadata bare metal
2 parents 46cfa53 + 3d04551 commit e8dec74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api-service/domain/oracle_exadata_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ func ToOracleExadataInstance(m model.OracleExadataInstance) (*OracleExadataInsta
8181

8282
if c.HostType == model.BARE_METAL {
8383
res.UsedCPU += c.CPUEnabled
84+
res.UsedMemory.Add(c.UsedRAM.Quantity, c.UsedRAM.Symbol)
8485
}
8586

8687
if c.HostType == model.DOM0 || c.HostType == model.KVM_HOST {

0 commit comments

Comments
 (0)