diff --git a/profile/encode.go b/profile/encode.go index 8ce9d3cf3b..a0a8baa5dc 100644 --- a/profile/encode.go +++ b/profile/encode.go @@ -330,7 +330,7 @@ func (p *Profile) postDecode() error { if l.strX != 0 { value, err = getString(p.stringTable, &l.strX, err) labels[key] = append(labels[key], value) - } else if l.numX != 0 || l.unitX != 0 { + } else { numValues := numLabels[key] units := numUnits[key] if l.unitX != 0 {