mirror of https://github.com/apache/cloudstack.git
xenserver: Improved message for peeples to actually see what the problem is.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #576
This commit is contained in:
parent
6d92abcb76
commit
ca68bb0ef7
|
|
@ -198,7 +198,7 @@ public class Xenserver625StorageProcessor extends XenServerStorageProcessor {
|
|||
final Set<VDI> setVdis = srcSr.getVDIs(conn);
|
||||
|
||||
if (setVdis.size() != 1) {
|
||||
return new CopyCmdAnswer("Can't find template VDI under: " + uri.getHost() + ":" + uri.getPath() + "/" + volumeDirectory);
|
||||
return new CopyCmdAnswer("Expected 1 VDI template but found " + setVdis.size() + " VDI template(s) on: " + uri.getHost() + ":" + uri.getPath() + "/" + volumeDirectory);
|
||||
}
|
||||
|
||||
final VDI srcVdi = setVdis.iterator().next();
|
||||
|
|
|
|||
Loading…
Reference in New Issue