Skip to content

Commit

Permalink
Return error when there is one
Browse files Browse the repository at this point in the history
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
  • Loading branch information
replay and codesome committed Feb 8, 2021
1 parent cdbc002 commit fbfc8ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsdb/index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,7 @@ func (dec *Decoder) LabelValueFor(b []byte, label string) (string, error) {
}
}

return "", nil
return "", d.Err()
}

// Series decodes a series entry from the given byte slice into lset and chks.
Expand Down

0 comments on commit fbfc8ad

Please sign in to comment.