From 72394b6cf9daa0fb56f51b359aedb18ad668956b Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Tue, 6 Feb 2024 15:57:13 -0500 Subject: [PATCH] Fixes #37162 - Make sure ESXi hypervisor check in time is reflected in sub facet --- app/lib/actions/katello/host/hypervisors_update.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/actions/katello/host/hypervisors_update.rb b/app/lib/actions/katello/host/hypervisors_update.rb index 70815bffad7..a5c63ecadf6 100644 --- a/app/lib/actions/katello/host/hypervisors_update.rb +++ b/app/lib/actions/katello/host/hypervisors_update.rb @@ -169,6 +169,7 @@ def update_subscription_facet(uuid, host) if @candlepin_attributes.key?(uuid) host.subscription_facet.candlepin_consumer.consumer_attributes = @candlepin_attributes[uuid] host.subscription_facet.import_database_attributes + host.subscription_facet.last_checkin = Time.now host.subscription_facet.save! end end