Commit 051fca3c authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Fix govet error in reflect_resync test

parent 1d17eb14
...@@ -381,7 +381,7 @@ func TestReflectorResync(t *testing.T) { ...@@ -381,7 +381,7 @@ func TestReflectorResync(t *testing.T) {
r := NewReflector(lw, &api.Pod{}, s, resyncPeriod) r := NewReflector(lw, &api.Pod{}, s, resyncPeriod)
if err := r.ListAndWatch(stopCh); err != nil { if err := r.ListAndWatch(stopCh); err != nil {
// error from Resync is not propaged up to here. // error from Resync is not propaged up to here.
t.Errorf("expected error %v", rerr, err) t.Errorf("expected error %v", err)
} }
if iteration != 2 { if iteration != 2 {
t.Errorf("exactly 2 iterations were expected, got: %v", iteration) t.Errorf("exactly 2 iterations were expected, got: %v", iteration)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment