File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- FROM istio/proxyv2:1.12.0-rc.1
1+ FROM istio/proxyv2:1.13.8
22ENTRYPOINT /usr/local/bin/envoy -c /etc/envoy.yaml -l debug --service-cluster proxy
Original file line number Diff line number Diff line change 1- FROM golang:1.13.5 as bd
1+ # syntax=docker/dockerfile:1
2+
3+ FROM golang:1.19.1 as bd
24WORKDIR /github.com/layer5io/wasm-upstream
35ADD . .
46RUN GOPROXY=direct GOSUMDB=off go build -a -o /upstream .
Original file line number Diff line number Diff line change 1+ module github.com/layer5io/wasm-filters/upstream
2+
3+ go 1.19
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ package main
22
33import (
44 "fmt"
5- "io/ioutil "
5+ "io"
66 "net/http"
77)
88
99var gldata = ""
1010
1111func store (w http.ResponseWriter , req * http.Request ) {
1212 defer req .Body .Close ()
13- data , err := ioutil .ReadAll (req .Body )
13+ data , err := io .ReadAll (req .Body )
1414 if err != nil {
1515 return
1616 }
You can’t perform that action at this time.
0 commit comments