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

node_validate should check for unknown attributes #1

Open
jschlyter opened this issue Jan 21, 2016 · 2 comments
Open

node_validate should check for unknown attributes #1

jschlyter opened this issue Jan 21, 2016 · 2 comments

Comments

@jschlyter
Copy link
Member

Only the following attributes may be declared for a node:

  • environment
  • classes
  • parameters

If any other attribute appears, node_validate should fail.

@Millnert
Copy link
Contributor

Shouldn't also the program exit with non-zero return code if node_validate fails?

@jschlyter
Copy link
Member Author

if node_validate fails, you get a fancy Exception - doesn't that render a non-zero exit? Or should we catch it if we can?

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

No branches or pull requests

2 participants