Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 0ae0048

Browse files
committed
Fix
1 parent 0108da9 commit 0ae0048

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

go-1.x/bootstrap.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,16 @@ func main() {
4242
os.Setenv("PATH", os.Getenv("PATH")+":/opt")
4343

4444
cmd := exec.Command(handler)
45-
cmd.Stdout = os.Stderr
45+
cmd.Stdout = os.Stdout
4646
cmd.Stderr = os.Stderr
4747
cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
4848
cmd.Env = append(os.Environ(),
4949
"_LAMBDA_SERVER_PORT="+lambdaPort,
5050
)
5151

52+
fmt.Println("Starting bootstrap")
5253
if err := cmd.Start(); err != nil {
54+
fmt.Println(err)
5355
sendResponse(apiURL+initErrPath, err.Error())
5456
return
5557
}

go-1.x/buildtemplate.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ spec:
3838
cat <<EOF > Dockerfile
3939
FROM golang:alpine
4040
RUN apk --no-cache add git \
41-
&& go get github.com/triggermesh/aws-custom-runtime \
42-
&& go get github.com/triggermesh/knative-lambda-runtime/go-1.x \
41+
&& go get github.com/tzununbekov/aws-custom-runtime \
42+
&& go get github.com/tzununbekov/knative-lambda-runtime/go-1.x \
4343
&& go get github.com/golang/dep/...
4444
4545
WORKDIR /go/src/handler

0 commit comments

Comments
 (0)