From dd7d808ac1c54da58f2b9a21e26238133d8eca35 Mon Sep 17 00:00:00 2001 From: roi-codefresh <60569147+roi-codefresh@users.noreply.github.com> Date: Thu, 21 May 2020 11:02:32 +0300 Subject: [PATCH] Saas 7238 - prevent runtime-env name collision (#470) --- lib/interface/cli/commands/runtimeEnvironments/install.cmd.js | 2 +- openapi.json | 3 +++ package.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/interface/cli/commands/runtimeEnvironments/install.cmd.js b/lib/interface/cli/commands/runtimeEnvironments/install.cmd.js index afd1681a5..4ecd07241 100644 --- a/lib/interface/cli/commands/runtimeEnvironments/install.cmd.js +++ b/lib/interface/cli/commands/runtimeEnvironments/install.cmd.js @@ -177,7 +177,7 @@ const installRuntimeCmd = new Command({ nodeSelector: kubeNodeSelectorObj, annotations: buildAnnotations, clusterName, - runtimeName, + runtimeEnvironmentName: runtimeName, agent: true, }); console.log(`Runtime environment "${colors.cyan(runtimeName)}" has been created`); diff --git a/openapi.json b/openapi.json index f91dacd0d..baadaf694 100644 --- a/openapi.json +++ b/openapi.json @@ -7706,6 +7706,9 @@ }, "clusterName": { "type":"string" + }, + "runtimeEnvironmentName": { + "type":"string" } }, "type": "object" diff --git a/package.json b/package.json index 4169eeea3..0dd30f0ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.63.9", + "version": "0.63.11", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,