Merge branch '1.4'

This commit is contained in:
Matthias Radestock committed 2016-03-22 16:28:53 +00:00
commit b080224072
1 file changed
+4 -5
+4 -5
View File
@@ -109,9 +109,9 @@ func (e1 *Entry) addLowercase() {
e1.lHostname = strings.ToLower(e1.Hostname)
}
func (e *Entry) tombstone() {
e.Version++
e.Tombstone = now()
func (e1 *Entry) tombstone() {
e1.Version++
e1.Tombstone = now()
}
func check(es SortableEntries) error {
@@ -220,9 +220,8 @@ func (es Entries) findEqual(e *Entry) (*Entry, bool) {
})
if i < len(es) && es[i].equal(*e) {
return &es[i], true
} else {
return nil, false
}
return nil, false
}
func (es Entries) lookup(hostname string) Entries {