Skip to content

Commit 7310ebb

Browse files
committed
fix linter issue
1 parent 11307e9 commit 7310ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cns/logger/cnslogger.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ func New(fileName string, logLevel, logTarget int, logDir string) (loggershim, e
4545
if err != nil {
4646
l.Errorf("Failed to get zap Platform cores: %v", err)
4747
}
48-
49-
zapLogger := zap.New(
48+
49+
zapLogger := zap.New(
5050
platformCore,
5151
zap.AddCaller(),
52-
zap.AddStacktrace(zapcore.WarnLevel),
52+
zap.AddStacktrace(zapcore.WarnLevel),
5353
).With(zap.Int("pid", os.Getpid()))
5454

5555
return &logger{

0 commit comments

Comments
 (0)