adding few additional checks
@@ -43,7 +43,9 @@ public class VimInstanceUtils {
.getClass()
.getCanonicalName()
.equals(OpenstackVimInstance.class.getCanonicalName())) {
- if (((OpenstackVimInstance) vimNew).getPassword().equals("**********")) {
+ if (((OpenstackVimInstance) vimNew).getPassword().equals("**********")
+ || ((OpenstackVimInstance) vimNew).getPassword().isEmpty()
+ || ((OpenstackVimInstance) vimNew).getPassword() == null) {
((OpenstackVimInstance) vimNew).setPassword(((OpenstackVimInstance) vimOld).getPassword());
}
} else if (vimNew
