out.println(String.format(PROVIDERFORMAT, api.getId(), "compute", sb.toString()));
}
}
protected void printNodes(ComputeService service, Set<? extends ComputeMetadata> nodes, PrintStream out) {
ShellTable table = shellTableFactory.build("node");
table.setDisplayData(nodes);
table.display(out, true, true);
for (ComputeMetadata metadata : nodes) {
NodeMetadata node = (NodeMetadata) metadata;
for (String cacheKey : ServiceHelper.findCacheKeysForService(service)) {
cacheProvider.getProviderCacheForType(Constants.GROUP).put(cacheKey, node.getGroup());