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

Better error message when using a parameter that is not defined #22

Open
jsyrjala opened this issue Aug 15, 2018 · 2 comments
Open

Better error message when using a parameter that is not defined #22

jsyrjala opened this issue Aug 15, 2018 · 2 comments

Comments

@jsyrjala
Copy link
Member

Currently the error message looks like this (ndt 1.0a31)

Traceback (most recent call last):
  File "/usr/local/bin/cf-update-stack", line 11, in <module>
    sys.exit(update_stack())
  File "/usr/local/lib/python3.6/site-packages/n_utils/cli.py", line 489, in update_stack
    args.dry_run)
  File "/usr/local/lib/python3.6/site-packages/n_utils/cf_deploy.py", line 271, in deploy
    for key in list(template_parameters.keys()):
AttributeError: 'list' object has no attribute 'keys'
@jsyrjala
Copy link
Member Author

The same error message seems to also happen when the stack doesn't have any parameters (and stack doesn't use any parameters).

@jsyrjala
Copy link
Member Author

Happens also in 1.0a47

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