Skip to content
Permalink
Browse files

Merge pull request #5442 from daviddavis/temp/20150825165430

Fixes #11567 - Fix relative_path for ostree repos
  • Loading branch information...
daviddavis committed Aug 25, 2015
2 parents d9b7fd5 + 2920241 commit ba8a334ed7a794610e2f9d4af0f20dc1673241ea
Showing with 3 additions and 4 deletions.
  1. +1 −3 app/lib/actions/pulp/repository/create.rb
  2. +2 −1 app/models/katello/glue/pulp/repo.rb
@@ -134,10 +134,8 @@ def docker_distributor
end

def ostree_distributor
ostree_path_url = URI(input[:feed])

options = { id: input[:pulp_id],
relative_path: ostree_path_url.path}
relative_path: input[:path]}
Runcible::Models::OstreeDistributor.new(options)
end
end
@@ -174,7 +174,8 @@ def generate_distributors
when Repository::OSTREE_TYPE
options = { :protected => !self.unprotected,
:id => self.pulp_id,
:auto_publish => true }
:auto_publish => true,
:relative_path => relative_path }
dist = Runcible::Models::OstreeDistributor.new(options)
[dist, nodes_distributor]
else

0 comments on commit ba8a334

Please sign in to comment.
You can’t perform that action at this time.