From d2f82b09abd61820b406083eff1b638edd0de57d Mon Sep 17 00:00:00 2001 From: criamico Date: Mon, 18 Dec 2023 16:56:59 +0100 Subject: [PATCH] Remove leftover comment --- x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts b/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts index 81d6126032655..d36010aa13b98 100644 --- a/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts +++ b/x-pack/plugins/fleet/common/services/is_agent_upgradeable.ts @@ -85,7 +85,6 @@ export const getNotUpgradeableMessage = ( if (getRecentUpgradeInfoForAgent(agent).hasBeenUpgradedRecently) { const timeToWaitMins = getRecentUpgradeInfoForAgent(agent).timeToWaitMins; const elapsedMinsSinceUpgrade = getRecentUpgradeInfoForAgent(agent).elapsedMinsSinceUpgrade; - // const upgradeStarted = moment().subtract(AGENT_UPGRADE_COOLDOWN_IN_MIN - timeToWaitMins).minutes(); return `agent was upgraded ${elapsedMinsSinceUpgrade} minutes ago, please wait ${timeToWaitMins} minutes before attempting the upgrade again.`; } const agentVersionNumber = semverCoerce(agentVersion);