diff --git a/README.md b/README.md index 945a70ab..6a664c42 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ aggregation — also helps with ops on your Fission deployment. $ fission env create --name nodejs --image fission/node-env # Create a function with a javascript one-liner that prints "hello world" - $ fission function create --name hello --env nodejs --code https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js + $ fission function create --name hello --env nodejs --code https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js # Run the function. This takes about 100msec the first time. $ fission function test --name hello diff --git a/charts/fission-all/templates/NOTES.txt b/charts/fission-all/templates/NOTES.txt index 9821837a..0ab1b1de 100644 --- a/charts/fission-all/templates/NOTES.txt +++ b/charts/fission-all/templates/NOTES.txt @@ -15,7 +15,7 @@ Windows: $ fission env create --name nodejs --image fission/node-env # Get a hello world - $ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js + $ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js # Register this function with Fission $ fission function create --name hello --env nodejs --code hello.js diff --git a/charts/fission-core/templates/NOTES.txt b/charts/fission-core/templates/NOTES.txt index 9821837a..0ab1b1de 100644 --- a/charts/fission-core/templates/NOTES.txt +++ b/charts/fission-core/templates/NOTES.txt @@ -15,7 +15,7 @@ Windows: $ fission env create --name nodejs --image fission/node-env # Get a hello world - $ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js + $ curl https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js > hello.js # Register this function with Fission $ fission function create --name hello --env nodejs --code hello.js diff --git a/test/tests/test_create_fn_with_url.sh b/test/tests/test_create_fn_with_url.sh index 955f9224..b3ca1d07 100755 --- a/test/tests/test_create_fn_with_url.sh +++ b/test/tests/test_create_fn_with_url.sh @@ -10,7 +10,7 @@ ROOT=$(dirname $0)/../.. env=nodejs-$TEST_ID fn=nodejs-hello-$TEST_ID -code_url=https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js +code_url=https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js base64val=$(wget -O- ${code_url} | base64) cleanup() {