From 8ed25ce61c1e6c25f9ac77350d20a8bf3791bb75 Mon Sep 17 00:00:00 2001 From: cauemarcondes Date: Thu, 30 Apr 2020 13:45:22 +0200 Subject: [PATCH] refactoring --- .../apm/common/agent_configuration/runtime_types/bytes_rt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts b/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts index 01a4afdcebb5bb..01da9598d5d33f 100644 --- a/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts +++ b/x-pack/plugins/apm/common/agent_configuration/runtime_types/bytes_rt.ts @@ -37,7 +37,7 @@ export function getBytesRt({ const { amount: maxAmount, unit: maxUnit } = max ? amountAndUnitToObject(max) - : { amount: Infinity, unit: 'b' }; + : { amount: Infinity, unit: 'mb' }; const message = i18n.translate('xpack.apm.agentConfig.bytes.errorText', { defaultMessage: `{rangeType, select,