Skip to content

Commit

Permalink
storage: don't unmarshal storage's serial number
Browse files Browse the repository at this point in the history
This information is actually useless for future references and could
also endup in the telemetry records. Since we have no good reason to
store it we don't want to marshal this data.

Signed-off-by: Leandro Dorileo <[email protected]>
  • Loading branch information
Leandro Dorileo authored and Leandro Dorileo committed Dec 12, 2018
1 parent c55b360 commit 6b6bcfe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,6 @@ func (bd *BlockDevice) MarshalYAML() (interface{}, error) {
bdm.MajorMinor = bd.MajorMinor
bdm.FsType = bd.FsType
bdm.UUID = bd.UUID
bdm.Serial = bd.Serial
bdm.MountPoint = bd.MountPoint
bdm.Label = bd.Label
bdm.Size = strconv.FormatUint(bd.Size, 10)
Expand Down

0 comments on commit 6b6bcfe

Please sign in to comment.