update go to 1.12 (#10382)
* update go to 1.12 * update per feedback * fix test * revert test changes * remove zap.AddCallerSkip(1)
Этот коммит содержится в:
коммит произвёл
Jesse Hallam
родитель
7f9e1273d7
Коммит
6a3fdbd489
@@ -35,7 +35,6 @@ func NewTestingLogger(tb testing.TB) *Logger {
|
||||
logWriterCore := zapcore.NewCore(makeEncoder(true), logWriterSync, testingLogger.consoleLevel)
|
||||
|
||||
testingLogger.zap = zap.New(logWriterCore,
|
||||
zap.AddCallerSkip(1),
|
||||
zap.AddCaller(),
|
||||
)
|
||||
return testingLogger
|
||||
|
||||
Ссылка в новой задаче
Block a user