Fix CLI args for welcome-message

The welcome-message script uses SSH arguments that are the same
as expire-old-reviews, not trivial-rebase. This patch updates
the hook script to use the correct CLI arguments.

Change-Id: Ib771e2a8cf4b770878dd24c72efd80344e62f754
This commit is contained in:
Tom Fifield 2014-01-14 23:58:13 +08:00
parent 5c24af09ec
commit f9007de5e9

View File

@ -10,5 +10,4 @@ timeout -k 2m 10m /usr/local/bin/trivial-rebase \
--private-key-path=<%= ssh_host_key %> \
--role-user=<%= trivial_rebase_role_id %> "$@"
timeout -k 2m 10m /usr/local/bin/welcome-message patchset-created --dryrun \
--private-key-path=<%= ssh_host_key %> \
--role-user=<%= trivial_rebase_role_id %> "$@"
welcome-message@review.openstack.org <%= welcome-message_gerrit_ssh_private_key %> "$@"