Merge branch 'fix-nil-logger-in-library-locator' into 'main'

Instantiate a logger when constructing a library Locator

See merge request nvidia/container-toolkit/container-toolkit!351
This commit is contained in:
Christopher Desiniotis 2023-03-21 21:54:14 +00:00
commit b87703c503

View File

@ -40,6 +40,7 @@ func NewLibraryLocator(logger *log.Logger, root string) (Locator, error) {
}
l := library{
logger: logger,
symlink: NewSymlinkLocator(logger, root),
cache: cache,
}