Remove unused const block

This commit is contained in:
Manuel de Brito Fontes 2016-09-23 10:03:43 -03:00
parent 2b62384223
commit 6e0944eb98

View file

@ -233,14 +233,6 @@ func (k *Kubernetes) getServiceRecordForIP(ip, name string) []msg.Service {
return nil
}
const (
priority = 10 // default priority when nothing is set
ttl = 300 // default ttl when nothing is set
minTTL = 60
hostmaster = "hostmaster"
k8sTimeout = 5 * time.Second
)
// symbolContainsWildcard checks whether symbol contains a wildcard value
func symbolContainsWildcard(symbol string) bool {
return (strings.Contains(symbol, "*") || (symbol == "any"))