From 5e5e4f8c6812a992a5008053d72b35fdc2d3af2a Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Sun, 12 Nov 2023 14:20:25 +0200 Subject: [PATCH] place USER_UPDATE_VM_DISK in the 'Disk' section The VM-specific properties (e.g., disk interface) are handled by VMAdapter. The handling by DiskAdapter of USER_UPDATE_VM_DISK events is for updating the disk properties that are not VM-specific, this moving this event to the section of disk-events (minor change). Signed-off-by: Arik Hadas --- pkg/controller/provider/container/ovirt/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/provider/container/ovirt/model.go b/pkg/controller/provider/container/ovirt/model.go index 89f611668..14aa43ad5 100644 --- a/pkg/controller/provider/container/ovirt/model.go +++ b/pkg/controller/provider/container/ovirt/model.go @@ -988,6 +988,7 @@ func (r *DiskAdapter) Event() []int { USER_ADD_DISK_FINISHED_SUCCESS, USER_ADD_DISK_TO_VM_SUCCESS, USER_REMOVE_DISK, + USER_UPDATE_VM_DISK, // VM USER_FINISHED_REMOVE_DISK_ATTACHED_TO_VMS, USER_REMOVE_DISK_FROM_VM, @@ -996,7 +997,6 @@ func (r *DiskAdapter) Event() []int { USER_ADD_VM_FINISHED_SUCCESS, IMPORTEXPORT_IMPORT_VM, USER_REMOVE_VM, - USER_UPDATE_VM_DISK, // StorageDomain. USER_DETACH_STORAGE_DOMAIN_FROM_POOL, USER_FORCE_REMOVE_STORAGE_DOMAIN,