-
Notifications
You must be signed in to change notification settings - Fork 50
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
NSCSPolicy .get method fails #91
Comments
Hey, Sorry for taking this long. Which NS version is it? Also, you're welcome to submit a PR for this one, or otherwise pull the latest version, I believe we might have fixed that already. V |
so its probably cos I am a little thick so bear with me. I must say I have no ability with python at all, but I can cut and paste so what I want is to use nsnitrycmd to add a server then add a service or you can tell me I am an idiot and its already there and you do it like thanks for getting back to me btw On Fri, Oct 9, 2015 at 12:16 PM, Vladimir Lazarenko <
|
https://github.com/favoretti/nsnitro/compare/master...marcosartori:add_server_nsnitrocmd?expand=1 I don't have perms to do a pull request |
The internal name is 'policyname' and this causes .get to fail on a key error.
Test code
Changing the internal name in nscspolicy.py to 'name' to match other classes won't work as .add will then fail with an invalid argument error.
The text was updated successfully, but these errors were encountered: