Skip to content

Commit e5a140a

Browse files
fix set default runtime (#467)
1 parent 46ab1cc commit e5a140a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/interface/cli/commands/runtimeEnvironments/install.cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const installRuntimeCmd = new Command({
165165
const re = await sdk.runtimeEnvs.get({
166166
name: runtimeName,
167167
});
168-
await sdk.onPrem.runtimeEnvs.account.setDefault({ account: re.accountId, name: re.metadata.name });
168+
await sdk.runtimeEnvs.setDefault({ account: re.accountId, name: re.metadata.name });
169169
console.log(`Runtime environment "${colors.cyan(runtimeName)}" has been set as the default runtime`);
170170
}
171171

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.63.6",
3+
"version": "0.63.7",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)