fix a bug - adding a cluster of type XenServer returned an error.

This commit is contained in:
Jessica Wang 2011-05-02 16:54:30 -07:00
parent 0d95cc8130
commit 747ab40f48
1 changed files with 2 additions and 1 deletions

View File

@ -567,7 +567,8 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory, ResourceS
String username = cmd.getUsername();
String password = cmd.getPassword();
url = URLDecoder.decode(url);
if(url != null)
url = URLDecoder.decode(url);
URI uri = null;