make sure the status is always exposed in the json data. make sure display_name for metadata is included. Update mocked test data for frontend.
This commit is contained in:
@@ -6,7 +6,7 @@ package thresholds
|
||||
// https://www.micromat.com/product_manuals/drive_scope_manual_01.pdf
|
||||
type NvmeAttributeMetadata struct {
|
||||
ID string `json:"-"`
|
||||
DisplayName string `json:"-"`
|
||||
DisplayName string `json:"display_name"`
|
||||
Ideal string `json:"ideal"`
|
||||
Critical bool `json:"critical"`
|
||||
Description string `json:"description"`
|
||||
|
||||
@@ -2,7 +2,7 @@ package thresholds
|
||||
|
||||
type ScsiAttributeMetadata struct {
|
||||
ID string `json:"-"`
|
||||
DisplayName string `json:"-"`
|
||||
DisplayName string `json:"display_name"`
|
||||
Ideal string `json:"ideal"`
|
||||
Critical bool `json:"critical"`
|
||||
Description string `json:"description"`
|
||||
|
||||
Reference in New Issue
Block a user