diff --git a/ztp/siteconfig-generator/siteConfig/siteConfig.go b/ztp/siteconfig-generator/siteConfig/siteConfig.go index 940d553781..9b41a2e361 100644 --- a/ztp/siteconfig-generator/siteConfig/siteConfig.go +++ b/ztp/siteconfig-generator/siteConfig/siteConfig.go @@ -224,7 +224,7 @@ type TangConfig struct { } type DiskPartition struct { - Device string `yaml:"device"` + Device string `yaml:"device"` Partitions []Partitions `yaml:"partitions"` } @@ -233,7 +233,7 @@ type Partitions struct { Size int `yaml:"size"` Start int `yaml:"start"` MountFileName string `yaml:"-"` - MountPath string `yaml:"-"` + MountPath string `yaml:"-"` } func (prt *Partitions) UnmarshalYAML(unmarshal func(interface{}) error) error { @@ -275,7 +275,7 @@ type Nodes struct { IgnitionConfigOverride string `yaml:"ignitionConfigOverride"` Role string `yaml:"role"` CrTemplates map[string]string `yaml:"crTemplates"` - DiskPartition []DiskPartition `yaml:"diskPartition"` + DiskPartition []DiskPartition `yaml:"diskPartition"` } // Provide custom YAML unmarshal for Nodes which provides default values