fix check for blank instance

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2026-03-18 12:05:23 +05:30
parent 1f72a2284c
commit 3bce25db2b
1 changed files with 2 additions and 2 deletions

View File

@ -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() {