[
https://jira.jboss.org/browse/JBIDE-7779?page=com.atlassian.jira.plugin.s...
]
Max Andersen edited comment on JBIDE-7779 at 12/2/10 4:15 AM:
--------------------------------------------------------------
if we are doing this then at least do it fully ;)
private static String getName(DeltaCloudInstance instance) {
StringBuilder sb = new StringBuilder();
if (instance != null) {
if(instance.getName()!=null) { sb.append(instance.getName()); }
if(instance.getId()!=null) { sb.append("
[").append(instance.getId()).append("] "); }
}
return sb.toString();
}
was (Author: max.andersen(a)jboss.com):
if we are doing this then at least do it fully ;)
private static String getName(DeltaCloudInstance instance) {
StringBuilder sb = new StringBuilder();
if (instance != null) {
if(instance.getName()!=null) { sb.append(instance.getName()); }
if(instance.getId()!=null) { sb.append("
[").append(instance.getId()).append("] "); }
}
sb.toString();
}
Cloud view: labels for instances are the image id
-------------------------------------------------
Key: JBIDE-7779
URL:
https://jira.jboss.org/browse/JBIDE-7779
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta2
Reporter: Andre Dietisheim
Assignee: Max Andersen
Fix For: 3.2.0.Beta2
Attachments: org-jboss-tools-deltacloud-ui.patch,
org-jboss-tools-deltacloud-ui.patch
the cloud viewer displays the name it gets for an instance. unfortunately Deltacloud
reports the image id as name for an instance. We need a workaround for this since
instances cannot be distinguised in the cloud view if they were launched from the same
image
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira