app/lib/actions/pulp/consumer/abstract_content_action.rb in katello-3.11.0 vs app/lib/actions/pulp/consumer/abstract_content_action.rb in katello-3.11.1
- old
+ new
@@ -45,9 +45,11 @@
end
# by default runcible puts whatever we pass into a hash under the 'name' key
# here we can make the unit hash more precise
def parse_units_for_type
+ return unless input[:args]
+
if input[:type] == 'rpm'
input[:args].collect do |unit|
::Katello::Util::Package.parse_nvrea_nvre(unit) || unit
end
else