Skip to content

Commit 8c765e3

Browse files
committed
fixes
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 54d0acd commit 8c765e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

engine/schema/src/main/java/com/cloud/dc/dao/ClusterDaoImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public List<Long> listEnabledClusterIdsByZoneHypervisorArch(Long zoneId, Hypervi
390390
sb.done();
391391
SearchCriteria<Long> sc = sb.create();
392392
sc.setParameters("allocationState", Grouping.AllocationState.Enabled);
393-
sc.setParameters("allocationState", Managed.ManagedState.Managed);
393+
sc.setParameters("managedState", Managed.ManagedState.Managed);
394394
if (zoneId != null) {
395395
sc.setParameters("zoneId", zoneId);
396396
}

engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ CREATE TABLE IF NOT EXISTS `cloud`.`extension_custom_action_details` (
243243
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
244244
`extension_custom_action_id` bigint(20) unsigned NOT NULL,
245245
`name` varchar(255) NOT NULL,
246-
`value` varchar(255) NOT NULL,
246+
`value` TEXT NOT NULL,
247247
`display` tinyint(1) NOT NULL DEFAULT 1,
248248
PRIMARY KEY (`id`),
249249
CONSTRAINT `fk_custom_action_details__action_id` FOREIGN KEY (`extension_custom_action_id`)

0 commit comments

Comments
 (0)