mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
Set omitempty for disk capacity json
This commit is contained in:
parent
ba4ca1a93e
commit
6a298590be
1 changed files with 1 additions and 1 deletions
2
api.go
2
api.go
|
|
@ -801,7 +801,7 @@ type NodeUsage struct {
|
|||
|
||||
// DiskUsage represents the storage space used on disk by one node.
|
||||
type DiskUsage struct {
|
||||
Capacity uint64 `json:"capacity"`
|
||||
Capacity uint64 `json:"capacity,omitempty"`
|
||||
TotalUse int64 `json:"totalInUse"`
|
||||
Indexes map[string]int64 `json:"indexes"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue