Add mountpoint field to mongoose diskSchema
This commit is contained in:
1 parent
135c3ff454
commit
4042d34585
1 file changed
+1
@@ -18,6 +18,7 @@ const memorySchema = mongoose.Schema({
|
|||||||
|
|
||||||
const diskSchema = mongoose.Schema({
|
const diskSchema = mongoose.Schema({
|
||||||
device: { type: String, default: "" },
|
device: { type: String, default: "" },
|
||||||
|
mountpoint: { type: String, default: "" },
|
||||||
read_speed_bytes: { type: Number, default: 0 },
|
read_speed_bytes: { type: Number, default: 0 },
|
||||||
write_speed_bytes: { type: Number, default: 0 },
|
write_speed_bytes: { type: Number, default: 0 },
|
||||||
total_bytes: { type: Number, default: 0 },
|
total_bytes: { type: Number, default: 0 },
|
||||||
|
|||||||
Reference in new issue
Block a user