Remove dead code

This commit is contained in:
Michael Gaffney committed 2020-05-29 14:21:30 -04:00
1 parent 31ef4a65ac
commit be97e5cac8
1 file changed
-9
-9
View File
@@ -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{},