mirror of https://github.com/apache/cloudstack.git
fix check for blank instance
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
1f72a2284c
commit
3bce25db2b
|
|
@ -10105,8 +10105,8 @@ public class UserVmManagerImpl extends ManagerBase implements UserVmManager, Vir
|
|||
if (isBlankInstanceDefaultTemplate(template)) {
|
||||
return true;
|
||||
}
|
||||
return MapUtils.getBoolean(CallContext.current().getContextParameters(),
|
||||
ApiConstants.BLANK_INSTANCE);
|
||||
return Boolean.TRUE.equals(
|
||||
MapUtils.getBoolean(CallContext.current().getContextParameters(), ApiConstants.BLANK_INSTANCE));
|
||||
}
|
||||
|
||||
VMTemplateVO getBlankInstanceTemplate() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue