Skip to content

Commit 90aa38a

Browse files
committed
fix typo
1 parent 543c5a0 commit 90aa38a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/src/commands/pg/upgrade/prepare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ export default class Upgrade extends Command {
5555
const data = {version}
5656
ux.action.start(`Preparing upgrade on ${color.addon(db.name)}`)
5757
await this.heroku.post(`/client/v11/databases/${db.id}/upgrade/prepare`, {hostname: pgHost(), body: data})
58-
ux.action.stop(`done\nYour database is scheduled for upgrade during your next available maintenance window.\nRun ${color.cmd('heroku pg:upgrade:wait')} to track its status.\nYou can also run this upgrade manually before the maintenance window with ${color.cmd('heroku pg:upgrade:wait')}. You can only run the upgrade after it's fully prepared, which can take up to a day.`)
58+
ux.action.stop(`done\nYour database is scheduled for upgrade during your next available maintenance window.\nRun ${color.cmd('heroku pg:upgrade:wait')} to track its status.\nYou can also run this upgrade manually before the maintenance window with ${color.cmd('heroku pg:upgrade:run')}. You can only run the upgrade after it's fully prepared, which can take up to a day.`)
5959
}
6060
}

packages/cli/test/unit/commands/pg/upgrade/prepare.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ describe('pg:upgrade:prepare', function () {
131131
Preparing upgrade on ${addon.name}... done
132132
Your database is scheduled for upgrade during your next available maintenance window.
133133
Run heroku pg:upgrade:wait to track its status.
134-
You can also run this upgrade manually before the maintenance window with heroku pg:upgrade:wait. You can only run the upgrade after it's fully prepared, which can take up to a day.
134+
You can also run this upgrade manually before the maintenance window with heroku pg:upgrade:run. You can only run the upgrade after it's fully prepared, which can take up to a day.
135135
`))
136136
})
137137

@@ -167,7 +167,7 @@ describe('pg:upgrade:prepare', function () {
167167
Preparing upgrade on ${addon.name}... done
168168
Your database is scheduled for upgrade during your next available maintenance window.
169169
Run heroku pg:upgrade:wait to track its status.
170-
You can also run this upgrade manually before the maintenance window with heroku pg:upgrade:wait. You can only run the upgrade after it's fully prepared, which can take up to a day.
170+
You can also run this upgrade manually before the maintenance window with heroku pg:upgrade:run. You can only run the upgrade after it's fully prepared, which can take up to a day.
171171
`))
172172
})
173173
})

0 commit comments

Comments
 (0)