Unverified Commit fd5560e9 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #75246 from aojea/e2e_ipv6_prestop

Add IPv6 support to the nettest image
parents a26709ec 05222658
......@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM scratch
FROM gcr.io/distroless/static:latest
COPY nettest /
EXPOSE 8080
ENTRYPOINT ["/nettest"]
......@@ -210,7 +210,7 @@ func main() {
http.HandleFunc("/write", state.serveWrite)
http.HandleFunc("/status", state.serveStatus)
go log.Fatal(http.ListenAndServe(fmt.Sprintf("0.0.0.0:%d", *port), nil))
go log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))
select {}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment