Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit e1cb554

Browse files
committed
fix: deploy demo cluster selection
1 parent 1a53485 commit e1cb554

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • cli/packages/prisma-cli-core/src/commands/deploy

cli/packages/prisma-cli-core/src/commands/deploy/deploy.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ export default class Deploy extends Command {
2222
${chalk.green.bold('Examples:')}
2323
2424
${chalk.gray(
25-
'-',
26-
)} Deploy local changes from prisma.yml to the default service environment.
25+
'-',
26+
)} Deploy local changes from prisma.yml to the default service environment.
2727
${chalk.green('$ prisma deploy')}
2828
2929
${chalk.gray(
30-
'-',
31-
)} Deploy local changes from default service file accepting potential data loss caused by schema changes
30+
'-',
31+
)} Deploy local changes from default service file accepting potential data loss caused by schema changes
3232
${chalk.green('$ prisma deploy --force')}
3333
`
3434
static flags: Flags = {
@@ -97,6 +97,7 @@ ${chalk.gray(
9797
let cluster
9898
let dockerComposeYml = defaultDockerCompose
9999
if (!serviceName || !stage || interactive) {
100+
await this.env.fetchClusters()
100101
const endpointDialog = new EndpointDialog({
101102
out: this.out,
102103
client: this.client,

0 commit comments

Comments
 (0)