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

use default args if no args are passed #9

Merged
merged 1 commit into from
Aug 22, 2014

Conversation

gtmanfred
Copy link
Contributor

I am using this and importing it in my own class. The only way that it
should be empty (and this class being used) is if you are manually
loading extensions, so this shouldn't affect anyone that just uses
novaclient.v1_1.servers directly, unless they manually load these
portions. You can also disable them by putting public: False and
service_net: False into the kwargs passed to the servers.create()
function.

For use over in my own shell class.
saltstack/salt#15120

I am using this and importing it in my own class.  The only way that it
should be empty (and this class being used) is if you are manually
loading extensions, so this shouldn't affect anyone that just uses
novaclient.v1_1.servers directly, unless they manually load these
portions.  You can also disable them by putting public: False and
service_net: False into the kwargs passed to the servers.create()
function
@rgbkrk
Copy link
Contributor

rgbkrk commented Aug 22, 2014

Definitely seeing your use case here. This was defaulting to "None".

rgbkrk added a commit that referenced this pull request Aug 22, 2014
use default args if no args are passed
@rgbkrk rgbkrk merged commit dcbd695 into rackerlabs:master Aug 22, 2014
@rgbkrk
Copy link
Contributor

rgbkrk commented Aug 22, 2014

Released this as part of 0.3.0.

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

Successfully merging this pull request may close these issues.

None yet

2 participants