Skip to content

Commit fe22c89

Browse files
authored
Improve upstream upgrade command deploy message (#2556)
1 parent 8bcf1ab commit fe22c89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/upstream/upgrade.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,17 +237,17 @@ func Upgrade(appSlug string, options UpgradeOptions) (*UpgradeResponse, error) {
237237
if ur.AvailableUpdates == 0 {
238238
log.ActionWithoutSpinner("")
239239
if options.Deploy {
240-
log.ActionWithoutSpinner("There are no application updates available, ensuring latest is marked as deployed")
240+
log.ActionWithoutSpinner("There are no application updates available, ensuring latest is deployed")
241241
} else {
242-
log.ActionWithoutSpinner("There are no application updates available, ensuring %s is marked as deployed", options.DeployVersionLabel)
242+
log.ActionWithoutSpinner("There are no application updates available, ensuring %s is deployed", options.DeployVersionLabel)
243243
}
244244
} else if options.Wait {
245245
if options.Deploy {
246246
log.ActionWithoutSpinner("")
247-
log.ActionWithoutSpinner(fmt.Sprintf("There are currently %d updates available in the Admin Console, ensuring latest is marked as deployed", ur.AvailableUpdates))
247+
log.ActionWithoutSpinner(fmt.Sprintf("There are currently %d updates available in the Admin Console, ensuring latest is deployed", ur.AvailableUpdates))
248248
} else {
249249
log.ActionWithoutSpinner("")
250-
log.ActionWithoutSpinner(fmt.Sprintf("There are currently %d updates available in the Admin Console, ensuring %s is marked as deployed", ur.AvailableUpdates, options.DeployVersionLabel))
250+
log.ActionWithoutSpinner(fmt.Sprintf("There are currently %d updates available in the Admin Console, ensuring %s is deployed", ur.AvailableUpdates, options.DeployVersionLabel))
251251
}
252252
} else {
253253
if options.Deploy {

0 commit comments

Comments
 (0)