Progress on ConfigPage
This commit is contained in:
parent
9997bcd91a
commit
b995063b43
14 changed files with 59 additions and 42 deletions
|
|
@ -84,10 +84,10 @@ public class HDDStatus extends WAStatusPage {
|
|||
node.set("mount", hdd.getDirName());
|
||||
|
||||
if (idMap.containsKey(device))
|
||||
node.set("id", idMap.get(device));
|
||||
node.set("pageName", idMap.get(device));
|
||||
else {
|
||||
idMap.put(device, nextId);
|
||||
node.set("id", nextId++);
|
||||
node.set("pageName", nextId++);
|
||||
}
|
||||
|
||||
FileSystemUsage hdd_use = sigar.getFileSystemUsage(hdd.getDirName());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue