-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --prev-app
to delete command
#511
Conversation
- This PR assumes the user wants to see the changeset diff on the cli also when providing a --prev-app. Hence the use of the Factory twice. - The case of both existing is interesting, for now it ignores the --prev-app existing if --app exists - Nothing inside recorded_app.go needs to change with this pattern Signed-off-by: Neil Hickey <nhickey@vmware.com>
Some things to note:
Interesting case:
What would you expect the behaviour to me? Given that App2 should have been migrated and not exist at the same time, I expect App1 to be deleted and App2 to be ignored. Any UX opinions on this case? |
Signed-off-by: Neil Hickey <nhickey@vmware.com>
I had something similar in my mind, so I am actually happy with this approach.
I totally agree. We should just ignore App2 in this case as this scenario shouldn't have happened. |
Co-authored-by: Praveen Rewar <8457124+praveenrewar@users.noreply.github.com> Signed-off-by: Neil Hickey <nhickey@vmware.com>
e736352
to
6b971b7
Compare
Signed-off-by: Neil Hickey <nhickey@vmware.com>
Signed-off-by: Neil Hickey <nhickey@vmware.com>
Signed-off-by: Neil Hickey <nhickey@vmware.com>
e169905
to
c0b8bdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good.
Available as part v0.48.0 |
also when providing a --prev-app. Hence the use of the Factory twice.
--prev-app existing if --app exists
Signed-off-by: Neil Hickey nhickey@vmware.com
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?
Additional Notes for your reviewer:
Review Checklist:
a link to that PR
change
Additional documentation e.g., Proposal, usage docs, etc.: