diff --git a/app/models/manager_refresh/save_inventory.rb b/app/models/manager_refresh/save_inventory.rb
index <HASH>..<HASH> 100644
--- a/app/models/manager_refresh/save_inventory.rb
+++ b/app/models/manager_refresh/save_inventory.rb
@@ -15,7 +15,10 @@ module ManagerRefresh
       end
 
       def save_collection(parent, key, dto_collection, hashes)
-        return if dto_collection.is_a? Array
+        unless dto_collection.is_a? ::DtoCollection
+          raise "A ManagerRefresh::SaveInventory needs a DtoCollection object, it got: #{dto_collection.inspect}"
+        end
+
         return if dto_collection.saved?
 
         if dto_collection.saveable?(hashes)
Allow only DtoCollection in ManagerRefresh::Saveinventory

Allow only DtoCollection in ManagerRefresh::Saveinventory


(transferred from ManageIQ/manageiq@<I>c1a<I>fec<I>c6dfc<I>ed<I>fe<I>edcb<I>)