From d69f323b624f5cb234ca51e1f813614665bbf9c6 Mon Sep 17 00:00:00 2001 From: kqzh <35095889+kqzh@users.noreply.github.com> Date: Fri, 22 Dec 2023 15:33:55 +0800 Subject: [PATCH] fix: cleanup --- pkg/cleanup/cleanup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cleanup/cleanup.go b/pkg/cleanup/cleanup.go index e5502e7..3d59979 100644 --- a/pkg/cleanup/cleanup.go +++ b/pkg/cleanup/cleanup.go @@ -111,7 +111,7 @@ func (c *Cleanup) Clean() error { logger.Info("Start to cleanup data in nebula cluster.") err := c.cleanNebula() if err != nil { - return fmt.Errorf("clean nebula local data failed: %w", err) + log.Errorf("clean nebula local data failed: %v", err) } logger.Info("Start cleanup data in external storage.")