You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2019/08/30 12:40:51 UTC

[openwhisk] branch master updated: update function parameters (#4599)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new d869e88  update function parameters (#4599)
d869e88 is described below

commit d869e88843d655238ff9da1beeaa27674bf257b9
Author: axiqia <ax...@qq.com>
AuthorDate: Fri Aug 30 20:40:37 2019 +0800

    update function parameters (#4599)
    
    $@ holds all parameters or arguments passed to the function, so  we need to pass the script parameters to remove and deploy function.
---
 tools/owperf/setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/owperf/setup.sh b/tools/owperf/setup.sh
index ee90c68..0c62d51 100755
--- a/tools/owperf/setup.sh
+++ b/tools/owperf/setup.sh
@@ -72,10 +72,10 @@ function deploy_assets() {
 
 
 # Always start with removal of existing assets
-remove_assets
+remove_assets $wskparams
 
 # If setup requested, deploy new assets
 if [ "$op" = "s" ]; then
-	deploy_assets
+	deploy_assets $wskparams
 fi