From 1db40ae9b051ea6bc6deaedea12437e9b2429f46 Mon Sep 17 00:00:00 2001 From: Danylo Strelets Date: Tue, 18 Jul 2023 17:57:17 +0300 Subject: [PATCH] HCK-3553: remove unnecessary statement --- reverse_engineering/cassandraHelper.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/reverse_engineering/cassandraHelper.js b/reverse_engineering/cassandraHelper.js index 7af83bc..1e651b4 100644 --- a/reverse_engineering/cassandraHelper.js +++ b/reverse_engineering/cassandraHelper.js @@ -1056,10 +1056,6 @@ module.exports = (_) => { const getSampleDocSize = (count, recordSamplingSettings) => { - if (recordSamplingSettings.active === 'absolute') { - return Number(recordSamplingSettings.absolute.value); - } - const limit = Math.ceil((count * recordSamplingSettings.relative.value) / 100); return Math.min(limit, recordSamplingSettings.maxValue);