Fixed broken links (#2417)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user