From 09db1f4ce61ae7158f124a6c54a09439be3b71b0 Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Thu, 17 Apr 2014 17:51:50 -0700 Subject: [PATCH] Clean up some variable references Change-Id: Id8b9f3acb742f8ebedb3818e283082432b83359c --- .../openstack_project/templates/gerrit_patchset-created.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openstack_project/templates/gerrit_patchset-created.erb b/modules/openstack_project/templates/gerrit_patchset-created.erb index ffd02f0417..29d23be699 100755 --- a/modules/openstack_project/templates/gerrit_patchset-created.erb +++ b/modules/openstack_project/templates/gerrit_patchset-created.erb @@ -8,10 +8,10 @@ timeout -k 2m 10m /usr/local/bin/notify-impact patchset-created "$@" --impact Se timeout -k 2m 10m /usr/local/bin/trivial-rebase \ patchset-created \ --whitespace \ - --private-key-path=<%= ssh_host_key %> \ - --role-user=<%= trivial_rebase_role_id %> "$@" + --private-key-path=<%= @ssh_host_key %> \ + --role-user=<%= @trivial_rebase_role_id %> "$@" <% end -%> -<% if $ssh_welcome_rsa_key_contents != "" -%> +<% if @ssh_welcome_rsa_key_contents != "" -%> timeout -k 2m 10m /usr/local/bin/welcome-message patchset-created \ --verbose --ssh-user=welcome-message \ --ssh-key=/home/gerrit2/review_site/etc/ssh_welcome_rsa_key "$@"