Skip to content
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

Pass the --force flag to the Lizzy Agent #107

Open
boure opened this issue Aug 27, 2018 · 0 comments
Open

Pass the --force flag to the Lizzy Agent #107

boure opened this issue Aug 27, 2018 · 0 comments

Comments

@boure
Copy link

boure commented Aug 27, 2018

At the moment, the force flag, while specified in the CLI API, is not passed to the Lizzy Agent and its usage will not work, for instance if the instance already has traffic resulting in the following error message:

ERROR: Error executing command.
> command: senza delete --region eu-central-1 my_application ABCDEFG
> command.output: Error: Stack my_application-ABCDEFG has traffic!                    
Use --force if you really want to delete it

The corresponding TODO is here:

# TODO pass force option to agent

The corresponding API in Lizzy is here:
https://github.com/zalando-stups/lizzy/blob/4c39fce2617cc60be512a1f0587727b041d67e52/lizzy/api.py#L258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant