diff --git a/app/models/manageiq/providers/kubernetes/container_manager_mixin.rb b/app/models/manageiq/providers/kubernetes/container_manager_mixin.rb index 62f7d1a9ae..e4d25eac4e 100644 --- a/app/models/manageiq/providers/kubernetes/container_manager_mixin.rb +++ b/app/models/manageiq/providers/kubernetes/container_manager_mixin.rb @@ -175,11 +175,12 @@ def scan_job_create(entity) def raw_scan_job_create(target_class, target_id = nil, userid = nil) target_class, target_id = target_class.class.name, target_class.id if target_class.kind_of?(ContainerImage) + target_name = target_class.constantize.find_by(:id => target_id).name userid ||= User.current_user.userid Job.create_job( "ManageIQ::Providers::Kubernetes::ContainerManager::Scanning::Job", :userid => userid, - :name => "Container image analysis", + :name => "Container image '#{target_name}' analysis", :target_class => target_class, :target_id => target_id, :zone => my_zone,