This commit is contained in:
Brian Brazil 2017-05-18 14:46:44 +01:00
parent fa58fdbd5d
commit 9aa8f822c1
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ func (b *Builder) Set(n, v string) *Builder {
}
// Labels returns the labels from the builder. If no modifications
// were made, the originl labels are returned.
// were made, the original labels are returned.
func (b *Builder) Labels() Labels {
if len(b.del) == 0 && len(b.add) == 0 {
return b.base