Skip to content

Commit 5451f94

Browse files
committed
add log close() back
1 parent a360021 commit 5451f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cni/network/plugin/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ func main() {
303303
return
304304
}
305305

306+
defer log.Close()
307+
306308
loggerCfg := &zaplog.Config{
307309
Level: zapcore.DebugLevel,
308310
LogPath: zaplog.LogPath + name + ".log",

0 commit comments

Comments
 (0)