Fix spelling in logger setup

Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
Dan Luhring 2020-11-14 11:35:55 -05:00
parent 6bde075cd3
commit 4861f69d7c
No known key found for this signature in database
GPG Key ID: 9CEE23D079426CEF

View File

@ -101,7 +101,7 @@ func initLogging() {
logWrapper := logger.NewLogrusLogger(cfg) logWrapper := logger.NewLogrusLogger(cfg)
syft.SetLogger(logWrapper) syft.SetLogger(logWrapper)
stereoscope.SetLogger(&logger.LogrusNestedLogger{ stereoscope.SetLogger(&logger.LogrusNestedLogger{
Logger: logWrapper.Logger.WithField("from-lib", "steroscope"), Logger: logWrapper.Logger.WithField("from-lib", "stereoscope"),
}) })
} }