mirror of https://github.com/apache/jclouds.git
getServerByName implemented for RimuHosting
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2394 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
3e00559d78
commit
9c2628cdba
|
@ -68,6 +68,10 @@ public class RimuHostingComputeService implements ComputeService {
|
|||
|
||||
@Override
|
||||
public SortedSet<org.jclouds.compute.Server> getServerByName(String id) {
|
||||
throw new UnsupportedOperationException();
|
||||
SortedSet<org.jclouds.compute.Server> serverSet = new TreeSet<org.jclouds.compute.Server>();
|
||||
for(Server rhServer : rhClient.getInstanceList()){
|
||||
serverSet.add(new RimuHostingServer(rhServer, rhClient));
|
||||
}
|
||||
return serverSet;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue