From b2aaa21b0a1a4a9631f58bdd44bb678e15093b15 Mon Sep 17 00:00:00 2001 From: Christopher Desiniotis Date: Tue, 21 Mar 2023 13:38:36 -0700 Subject: [PATCH] Instantiate a logger when constructing a library Locator Signed-off-by: Christopher Desiniotis --- internal/lookup/library.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/lookup/library.go b/internal/lookup/library.go index 00fa3137..225b9f55 100644 --- a/internal/lookup/library.go +++ b/internal/lookup/library.go @@ -40,6 +40,7 @@ func NewLibraryLocator(logger *log.Logger, root string) (Locator, error) { } l := library{ + logger: logger, symlink: NewSymlinkLocator(logger, root), cache: cache, }