From d9cc141db93320d83b91a4cfb311071022c45ca3 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <alexander.olofsson@liu.se>
Date: Fri, 14 Apr 2023 13:09:48 +0200
Subject: [PATCH] Populate facet fields before main field population

---
 .../concerns/foreman_uuid_boot/host_discovered_extensions.rb   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/models/concerns/foreman_uuid_boot/host_discovered_extensions.rb b/app/models/concerns/foreman_uuid_boot/host_discovered_extensions.rb
index 4276957..2b9bcac 100644
--- a/app/models/concerns/foreman_uuid_boot/host_discovered_extensions.rb
+++ b/app/models/concerns/foreman_uuid_boot/host_discovered_extensions.rb
@@ -3,8 +3,9 @@
 module ForemanUuidBoot
   module HostDiscoveredExtensions
     def populate_fields_from_facts(parser, type, source_proxy)
-      super
       populate_facet_fields(parser, type, source_proxy)
+
+      super(parser, type, source_proxy)
     end
   end
 end
-- 
GitLab