> @@ -47,20 +47,14 @@ > @Override > public org.jclouds.domain.Location apply(final Location location) { > final LocationBuilder builder = new LocationBuilder(); > - String id = location.id(); > - int index = id.lastIndexOf('/'); > - if (index > 0 && (index + 1) < id.length()) > - id = id.substring(index + 1); > - builder.id(id); > + builder.id(location.name()); > builder.description(location.displayName()); > builder.parent(getOnlyElement(justProvider.get()));
The parent location of the ZONE should be the REGION instead of the provider? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/308/files/961db5c145342971726063e25776e0011ab8ed36#r74422538