From ade08bc5c372308ad19cf25127b82c0b154ec7d0 Mon Sep 17 00:00:00 2001 From: Matias Date: Wed, 15 May 2019 10:15:48 -0300 Subject: [PATCH] Variable name fix --- server/src/schema/mutations/RunSimulation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/schema/mutations/RunSimulation.js b/server/src/schema/mutations/RunSimulation.js index 565c2ee95..c460e6ba8 100644 --- a/server/src/schema/mutations/RunSimulation.js +++ b/server/src/schema/mutations/RunSimulation.js @@ -123,7 +123,7 @@ async function createSimulatorClone(simulation, processName, userId, simulatorBo logger.debug('runSimulation -> Creating %s clone on the Database.', processName) await newClone.save() - clone = cloneDetails(bot, clone) + clone = cloneDetails(simulatorBot, clone) await createKubernetesClone(clone) logger.debug('runSimulation -> %s clone created.', processName)