Fix golangci-lint issue for AzureBlob

This commit is contained in:
Juan Calderon-Perez
2023-11-15 08:44:39 -05:00
committed by GitHub
parent 69c06f820e
commit 44604ef0ee

View File

@@ -108,7 +108,7 @@ func (s *Storage) Reset() error {
} }
} }
if errCounter > 0 { if errCounter > 0 {
return errors.New(fmt.Sprintf("%d errors occured while resetting", errCounter)) return fmt.Errorf("%d errors occured while resetting", errCounter)
} }
return nil return nil
} }