Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/filtermaster/templates/sitescripts.ini.erb

Issue 29329059: Issue 3196 - Correct misuse of $alias metaparameter (Closed)
Patch Set: Created Oct. 13, 2015, 9:07 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/filtermaster/templates/sitescripts.ini.erb
diff --git a/modules/filtermaster/templates/sitescripts.ini.erb b/modules/filtermaster/templates/sitescripts.ini.erb
index 8d63d4000e1341a9d0ce77d7482d027ec6825c45..ef5d89141187cb8445c90eddc801216926fd4db3 100644
--- a/modules/filtermaster/templates/sitescripts.ini.erb
+++ b/modules/filtermaster/templates/sitescripts.ini.erb
@@ -6,6 +6,6 @@ root=/home/rsync/subscription
<%= key %>_repository=%(root)s/<%= key %>
<% end -%>
<% @repo_downloads.each do |key, hash| -%>
-<%= hash['alias'] rescue key %>_repository=%(root)s/<%= key %>
+<%= hash['target'] or key %>_repository=%(root)s/<%= key %>
<% end -%>
outdir=/home/rsync/generated
« no previous file with comments | « modules/filtermaster/manifests/repo_download.pp ('k') | modules/private-stub/hiera/roles/filtermasterserver.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld