fix type of parameters in template

Change-Id: I06b666a0387caa6e64d4f1351ef5d5d54892c618
Reviewed-on: http://review.couchbase.org/37794
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>