According to the 
[DatacenterToLocation](https://github.com/jclouds/jclouds/blob/master/providers/softlayer/src/main/java/org/jclouds/softlayer/compute/functions/DatacenterToLocation.java#L52)
 function, the id of the location is the name of the datacenter. This commit 
fixes the `VirtualGuestToNodeMetadata` so the location is properly populated.

/cc @andreaturli 
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/666

-- Commit Summary --

  * Fix location assignment in SoftLayer VirtualGuestToNodeMetadata

-- File Changes --

    M 
providers/softlayer/src/main/java/org/jclouds/softlayer/compute/functions/VirtualGuestToNodeMetadata.java
 (2)
    M 
providers/softlayer/src/test/java/org/jclouds/softlayer/compute/functions/VirtualGuestToNodeMetadataTest.java
 (4)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/666.patch
https://github.com/jclouds/jclouds/pull/666.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/666

Reply via email to