Skip to content

Commit

Permalink
Delegate to the String() method
Browse files Browse the repository at this point in the history
  • Loading branch information
ash2k committed Jul 11, 2016
1 parent 3cddd82 commit e9107f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (tags Tags) String() string {
// Note that this method may mutate the original object.
func (tags Tags) SortedString() string {
sort.Strings(tags)
return strings.Join(tags, ",")
return tags.String()
}

// NormalizeTagKey cleans up the key of a tag.
Expand Down

0 comments on commit e9107f1

Please sign in to comment.