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

Commit

Permalink
fix: deploy demo cluster selection
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Mar 10, 2019
1 parent 1a53485 commit e1cb554
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cli/packages/prisma-cli-core/src/commands/deploy/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ export default class Deploy extends Command {
${chalk.green.bold('Examples:')}
${chalk.gray(
'-',
)} Deploy local changes from prisma.yml to the default service environment.
'-',
)} Deploy local changes from prisma.yml to the default service environment.
${chalk.green('$ prisma deploy')}
${chalk.gray(
'-',
)} Deploy local changes from default service file accepting potential data loss caused by schema changes
'-',
)} Deploy local changes from default service file accepting potential data loss caused by schema changes
${chalk.green('$ prisma deploy --force')}
`
static flags: Flags = {
Expand Down Expand Up @@ -97,6 +97,7 @@ ${chalk.gray(
let cluster
let dockerComposeYml = defaultDockerCompose
if (!serviceName || !stage || interactive) {
await this.env.fetchClusters()
const endpointDialog = new EndpointDialog({
out: this.out,
client: this.client,
Expand Down

0 comments on commit e1cb554

Please sign in to comment.