Skip to content

Commit

Permalink
Update control-plane/catalog/to-consul/resource.go
Browse files Browse the repository at this point in the history
Co-authored-by: Nitya Dhanushkodi <nitya@hashicorp.com>
  • Loading branch information
lkysow and ndhanushkodi committed Jan 24, 2022
1 parent 56b8bf2 commit 45eb49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/catalog/to-consul/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ func parseTags(tagsAnno string) []string {
// This algorithm parses the tagsAnno string into a slice of strings.
// Ideally we'd just split on commas but since Consul tags support commas,
// we allow users to escape commas so they're included in the tag, e.g.
// the annotation "tag\,with\,commas\,,tag2" will become the tags:
// the annotation "tag\,with\,commas,tag2" will become the tags:
// ["tag,with,commas", "tag2"].

var tags []string
Expand Down

0 comments on commit 45eb49a

Please sign in to comment.