diff --git a/app/lib/actions/katello/host/hypervisors_update.rb b/app/lib/actions/katello/host/hypervisors_update.rb index efbb9a2210d..903b1158760 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! host.subscription_facet.update_subscription_status(@candlepin_attributes[uuid].try(:[], :entitlementStatus)) end