GitHub user doberloh opened a pull request:
https://github.com/apache/libcloud/pull/308
Removing ex_ from the front of vps_parameters to avoid overwrites of ser...
The base rimu compute class has options in the create function that can set
custom memory and disk values for a VPS. The problem is in the logic that looks
to see if vps_parameters is in the data structure sent in the create api call.
In the first block it looks to see if vps_parameters exists which is the
correct naming. In the second one it looks for ex_vps_parameters, which will
never exist. And then it re initializes vps_parameters which wipes the values
set for memory in the previous block. This change fixes that.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Pertino/libcloud trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/308.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #308
----
commit 4302305db5db575fead980babe917ea3194a768d
Author: doberloh <[email protected]>
Date: 2014-06-03T20:14:35Z
Removing ex_ from the front of vps_parameters to avoid overwrites of server
memory values.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---