From be97e5cac8e5d49bcd058f3e6c826949cf53490f Mon Sep 17 00:00:00 2001 From: Michael Gaffney Date: Fri, 29 May 2020 14:21:30 -0400 Subject: [PATCH] Remove dead code --- internal/host/static/repository.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/host/static/repository.go b/internal/host/static/repository.go index 3a0e5aa25f..8a9f552083 100644 --- a/internal/host/static/repository.go +++ b/internal/host/static/repository.go @@ -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{},