From 9763acfeb0d9ea1e756d4e2859cdb9a05233321e Mon Sep 17 00:00:00 2001 From: Sergey Berezansky Date: Wed, 31 Jul 2024 11:43:41 +0300 Subject: [PATCH] fix(CSI-234): locar instead of go native rmdirtree --- pkg/wekafs/gc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wekafs/gc.go b/pkg/wekafs/gc.go index 5b3b89f9e..304758f02 100644 --- a/pkg/wekafs/gc.go +++ b/pkg/wekafs/gc.go @@ -102,8 +102,8 @@ func (gc *innerPathVolGc) purgeLeftovers(ctx context.Context, fs string, apiClie output, err := deleteCmd.CombinedOutput() if err != nil { logger.Error().Err(err).Msg("Error running locar") + logger.Trace().Str("output", string(output)).Msg("Locar output") } - logger.Trace().Str("output", string(output)).Msg("Output of locar") } else { logger.Debug().Msg("Using default deletion method") if err := os.RemoveAll(volumeTrashLoc); err != nil {