Skip to content

Commit

Permalink
add comment for the public method
Browse files Browse the repository at this point in the history
  • Loading branch information
ideahitme committed Apr 11, 2017
1 parent 4787fc2 commit 6e704cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ func NewEndpoint(dnsName, target string) *Endpoint {
}
}

// MergeLabels adds keys to labels if not defined for the endpoint
func (e *Endpoint) MergeLabels(labels map[string]string) {
for k, v := range labels {
if e.Labels[k] == "" {
Expand Down

0 comments on commit 6e704cd

Please sign in to comment.