Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

confirm-upgrade should provide user an error message when there is no pending upgrade to confirm. #2007

Open
sangee2004 opened this issue Aug 2, 2023 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@sangee2004
Copy link
Contributor

Acorn version - v0.8.0-alpha7-200-gff70cc2b+ff70cc2b

Steps to reproduce the problem:
Scenario 1:

  1. Deploy app with autoupgrade not enabled.
  2. Try to update app with confirm-upgrade option.
    No update happens as expected. But there is no error message presented to the user and the output of the CLI indicates success which is misleading.
acorn update --confirm-upgrade mytest1 
mytest1

Scenario 2:

  1. Deploy app with autoupgrade enabled.
  2. Try to update app with confirm-upgrade option when there is no new version available.
    No update happens as expected. But there is no error message presented to the user and the output of the CLI indicates success which is misleading.
acorn update --confirm-upgrade mytest2 
mytest2

Another scenario were it gets confusing - #1726 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants