Project

General

Profile

« Previous | Next » 

Revision 6fa0fa1c

Added by Justin Sherrill about 10 years ago

white space fixes

View differences:

app/lib/actions/katello/repository/clone_to_environment.rb
# visible for the systems in the environment
def find_or_build_environment_clone(repository, environment)
version = repository.content_view_version
clone = version.content_view.get_repo_clone(environment, repository).first
if clone
clone = ::Katello::Repository.find(clone.id) # reload readonly object
clone.update_attributes!(content_view_version_id: version.id)

Also available in: Unified diff