Fixed broken links (#2417)

This commit is contained in:
Atulpriya Sharma
2022-04-21 20:18:03 +05:30
committed by GitHub
parent 2a43213387
commit b98538ba24
3 changed files with 4 additions and 4 deletions
@@ -15,7 +15,7 @@ spec:
sum: aa595bb952047c517d849f8fc9e490fdabc37d83795392074a0b15a59748004f
type: sha256
type: url
url: https://raw.githubusercontent.com/fission/examples/master/go/hello.gogo # this is intentional
url: https://raw.githubusercontent.com/fission/examples/main/go/hello-world/hello.gogo # this is intentional
---
apiVersion: fission.io/v1
+2 -2
View File
@@ -38,8 +38,8 @@ fi
log "Download test script"
url1="https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js"
url2="https://raw.githubusercontent.com/fission/examples/master/nodejs/hello-callback.js"
url1="https://raw.githubusercontent.com/fission/examples/main/nodejs/hello.js"
url2="https://raw.githubusercontent.com/fission/examples/main/nodejs/hello-callback.js"
wget ${url1}
sum=$(shasum -a 256 hello.js|cut -d' ' -f 1)
+1 -1
View File
@@ -52,7 +52,7 @@ create_fission_objects() {
fi
echo "Creating function"
curl -LO https://raw.githubusercontent.com/fission/examples/master/nodejs/hello.js
curl -LO https://raw.githubusercontent.com/fission/examples/main/nodejs/hello.js
if fission function create --name hello --env nodejs --code hello.js; then
echo "Successfully created function"
else