app/services/katello/pulp3/content_view_version/export.rb in katello-4.11.1 vs app/services/katello/pulp3/content_view_version/export.rb in katello-4.12.0.rc1
- old
+ new
@@ -8,12 +8,12 @@
FORMATS = [SYNCABLE, IMPORTABLE].freeze
attr_reader :smart_proxy, :content_view_version, :destination_server, :from_content_view_version, :repository, :base_path
def self.create(options)
if options.delete(:format) == SYNCABLE
- SyncableFormatExport.new(options)
+ SyncableFormatExport.new(**options)
else
- self.new(options)
+ self.new(**options)
end
end
def initialize(smart_proxy:,
content_view_version: nil,