Merge pull request #2434 from arkodg/bump-golang-1.12.8

Bumps the GO Version to 1.12.8 which contains security fixes
This commit is contained in:
elangovan sivanandam 2019-08-15 23:06:18 -04:00 committed by GitHub
commit 65ade31ba1
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
ARG GO_VERSION=1.12.6
ARG GO_VERSION=1.12.8
FROM golang:${GO_VERSION} as dev
FROM golang:${GO_VERSION}-stretch as dev
RUN apt-get update && apt-get -y install iptables \
protobuf-compiler

View File

@ -681,7 +681,7 @@ func (n *networkNamespace) ApplyOSTweaks(types []SandboxType) {
for _, t := range types {
switch t {
case SandboxTypeLoadBalancer:
n.InvokeFunc(func() { kernel.ApplyOSTweaks(loadBalancerConfig) })
kernel.ApplyOSTweaks(loadBalancerConfig)
}
}
}