Merge pull request #75246 from aojea/e2e_ipv6_prestop

Add IPv6 support to the nettest image
This commit is contained in:
Kubernetes Prow Robot
2019-05-03 18:25:38 -07:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -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"]

View File

@@ -1 +1 @@
1.0
1.1

View File

@@ -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 {}
}