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:
Jason Kulatunga
2021-10-24 17:09:44 -07:00
parent deba21fe19
commit 5789c836db
16 changed files with 966 additions and 4452 deletions
@@ -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"`