From 27105c90ecd8010f65745ab285d9c4d553770189 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Mon, 16 Apr 2018 20:42:40 +0000 Subject: [PATCH] Fix kubelet flags. Signed-off-by: Lantao Liu --- test/e2e_node/services/kubelet.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/e2e_node/services/kubelet.go b/test/e2e_node/services/kubelet.go index 8672973c869..4194ffb32c9 100644 --- a/test/e2e_node/services/kubelet.go +++ b/test/e2e_node/services/kubelet.go @@ -55,12 +55,6 @@ func (a *args) String() string { // Set function of flag.Value func (a *args) Set(value string) error { - // Someone else is calling flag.Parse after the flags are parsed in the - // test framework. Use this to avoid the flag being parsed twice. - // TODO(random-liu): Figure out who is parsing the flags. - if flag.Parsed() { - return nil - } // Note that we assume all white space in flag string is separating fields na := strings.Fields(value) *a = append(*a, na...)