Remove external function setting Kubelet flags

This commit is contained in:
gmarek
2015-08-13 13:23:49 +02:00
parent b5a4a548df
commit 3c907b33e1
3 changed files with 7 additions and 19 deletions

View File

@@ -77,12 +77,3 @@ func (f *fakeFlagSet) IntVar(p *int, name string, value int, usage string) {
}
f.set.Insert(name)
}
func TestBindKubeletClientConfigFlags(t *testing.T) {
flags := &fakeFlagSet{t, util.StringSet{}}
config := &KubeletConfig{}
BindKubeletClientConfigFlags(flags, config)
if len(flags.set) != 6 {
t.Errorf("unexpected flag set: %#v", flags)
}
}