From 70b918a2c00393b02d420c442bcfa4b4cb91516a Mon Sep 17 00:00:00 2001 From: Nikolay Murga Date: Tue, 22 Mar 2016 13:00:18 +0200 Subject: [PATCH] Fix hairpin mode --- pkg/kubelet/kubelet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kubelet/kubelet.go b/pkg/kubelet/kubelet.go index 2d4338cfef74a..a3398d9aa9bba 100644 --- a/pkg/kubelet/kubelet.go +++ b/pkg/kubelet/kubelet.go @@ -405,7 +405,7 @@ func NewMainKubelet( imageBackOff, serializeImagePulls, enableCustomMetrics, - hairpinMode == componentconfig.HairpinVeth, + klet.hairpinMode == componentconfig.HairpinVeth, containerRuntimeOptions..., ) case "rkt":