From a807031a3093964387171a5bb07cc2c9181f0444 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 6 Sep 2021 22:46:20 +0800 Subject: Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) * Fix storage Iterate bug and Add storage doctor to delete garbage attachments * Close object when used --- cmd/doctor.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd') diff --git a/cmd/doctor.go b/cmd/doctor.go index 0152aebe39..2e79275434 100644 --- a/cmd/doctor.go +++ b/cmd/doctor.go @@ -124,7 +124,6 @@ func runRecreateTable(ctx *cli.Context) error { } func runDoctor(ctx *cli.Context) error { - // Silence the default loggers log.DelNamedLogger("console") log.DelNamedLogger(log.DEFAULT) -- cgit v1.2.3