Skip to content

Commit

Permalink
Merge branch 'master' into improve-apigw-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
horike37 committed Jan 12, 2018
2 parents ce6e0df + b576abc commit 4aa9e80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/plugins/aws/invokeLocal/index.js
Expand Up @@ -168,7 +168,7 @@ class AwsInvokeLocal {

return new BbPromise(resolve => {
const python = spawn(runtime,
[path.join(__dirname, 'invoke.py'), handlerPath, handlerName], { env: process.env });
['-u', path.join(__dirname, 'invoke.py'), handlerPath, handlerName], { env: process.env });
python.stdout.on('data', (buf) => this.serverless.cli.consoleLog(buf.toString()));
python.stderr.on('data', (buf) => this.serverless.cli.consoleLog(buf.toString()));
python.stdin.write(input);
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/kubeless-nodejs/package.json
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Example function for serverless kubeless",
"dependencies": {
"serverless-kubeless": "^0.1.8",
"serverless-kubeless": "^0.2.4",
"lodash": "^4.1.0"
},
"devDependencies": {},
Expand Down
2 changes: 1 addition & 1 deletion lib/plugins/create/templates/kubeless-python/package.json
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Sample Kubeless Python serverless framework service.",
"dependencies": {
"serverless-kubeless": "^0.1.8"
"serverless-kubeless": "^0.2.4"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 4aa9e80

Please sign in to comment.