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

add validate commands for create and update json files for GH-153 #173

Conversation

@MerlinDMC
Copy link
Contributor

MerlinDMC commented Feb 9, 2013

To make @konobi happy and fix GH-153 this implements two validation commands:

vmadm validate create [-f <filename>]
vmadm validate update brand [-f <filename>]

I left the validation of receive JSON out because I think nobody will unbundle and edit those files.

I did change the main() callback because on failure flushLogs was called twice and sometimes the wrong one did call process.exit(0) which resulted in a zero exit code on failure.

@joshwilsdon

This comment has been minimized.

Copy link
Member

joshwilsdon commented Feb 15, 2013

resolved with commit 4c6d586, thanks for the help MerlinDMC

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

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.