From 2797135bcb64d993b69521e42cd611c8c5d78266 Mon Sep 17 00:00:00 2001 From: nikpivkin Date: Fri, 15 Mar 2024 18:34:53 +0700 Subject: [PATCH] fix lint issue --- pkg/cloud/aws/scanner/progress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloud/aws/scanner/progress.go b/pkg/cloud/aws/scanner/progress.go index c75ac56277de..a313dd482c6c 100644 --- a/pkg/cloud/aws/scanner/progress.go +++ b/pkg/cloud/aws/scanner/progress.go @@ -73,7 +73,7 @@ func (m *progressTracker) StartService(name string) { return } - m.debugWriter.Write([]byte(fmt.Sprintf("[%d/%d] Scanning %s...\n", m.serviceCurrent+1, m.serviceTotal, name))) + fmt.Fprintf(m.debugWriter, "[%d/%d] Scanning %s...\n", m.serviceCurrent+1, m.serviceTotal, name) m.serviceBar = bar.New( bar.OptionHideOnFinish(true), bar.OptionWithAutoComplete(false),