Remove dead code

pull/92/head
Michael Gaffney 6 years ago
parent 31ef4a65ac
commit be97e5cac8
No known key found for this signature in database
GPG Key ID: 21FE4844A1193A56

@ -221,15 +221,6 @@ func (r *Repository) DeleteCatalog(ctx context.Context, id string, opt ...Option
return rowsDeleted, nil
}
func contains(ss []string, t string) bool {
for _, s := range ss {
if strings.EqualFold(s, t) {
return true
}
}
return false
}
func allocCatalog() *HostCatalog {
fresh := &HostCatalog{
HostCatalog: &store.HostCatalog{},

Loading…
Cancel
Save