-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse out of order ListBuckets response elements
Currently, jclouds assumes that the ListBuckets response follows a specific order: the <Owner> tag, followed by the <Buckets> tag. Within the <Owner> tag, jclouds further assumes that the <ID> must occur before the <DisplayName> tag. If the XML body does not adhere to this order, the parser throws a NullPointerException. DigitalOcean spaces does not adhere to this order and returns the <DisplayName> tag before the <ID> tag. The patch changes the parser to not depend on the order of the tags.
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters