From 6e704cdfb545bf8efd18ebd42c58c099eb9327a1 Mon Sep 17 00:00:00 2001 From: ideahitme Date: Tue, 11 Apr 2017 18:11:56 +0200 Subject: [PATCH] add comment for the public method --- endpoint/endpoint.go | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoint/endpoint.go b/endpoint/endpoint.go index f3f606f31f..7e149f7eef 100644 --- a/endpoint/endpoint.go +++ b/endpoint/endpoint.go @@ -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] == "" {