GitHub user ferewuz opened a pull request:
https://github.com/apache/libcloud/pull/460
Fix list_records method when no records exist yet
`list_records` incorrectly returned `ZoneDoesNotExistError` when there were
no records present.
Fixed that with additional checking if API call return "No Records" error
and return empty list instead of exception.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/niteoweb/libcloud host_virtual_no_records_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/460.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 #460
----
commit a26f1e00641f9c84bdebb946aded5f4dea4a51c9
Author: VanÄ Levstik <[email protected]>
Date: 2015-02-17T12:49:30Z
Fix list_records method when no records exist yet
----
---
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.
---