[LIBCLOUD-723] Added cloud specific parameter to base compute wait_un…#548
[LIBCLOUD-723] Added cloud specific parameter to base compute wait_un…#548davidwilson2038 wants to merge 2 commits into
Conversation
…til_running method to make compatible with Azure
|
@davidwilson2038 Good catch and thanks. |
There was a problem hiding this comment.
Can you please move this new argument to the end so it's the last argument?
This way the change is backward compatible and doesn't break existing code if using non keyword arguments.
There was a problem hiding this comment.
Please also add a docstring which explains what this argument does.
Edit: Never mind, I see the docstring is already there.
There was a problem hiding this comment.
There should be no ** here since user should pass in a dict to the function. I will remove it when merging the patch.
|
Made this method signature fix (4cc3adf) and merged changes into trunk. Thanks. |
|
@davidwilson2038 On a related note - Now that this is merged into trunk, you can also override |
Fixed LIBCLOUD-723 bug with Azure driver where the wait_until_running method is broken because it calls self.list_nodes() without any options (list_nodes is defined as requiring an ex_cloud_service parameter). I added an optional ex_cloud_opts parameter to the wait_until_running method to make it work and also allow users of other drivers to specify additional configuration parameters if their list_nodes function allows.