Prevent accidental setting of sync or timeout

This commit is contained in:
Daniel Smith
2014-08-08 13:50:04 -07:00
parent 49cded3800
commit 5dd130a350
5 changed files with 55 additions and 22 deletions

View File

@@ -339,8 +339,8 @@ func TestWatchControllers(t *testing.T) {
return nil
}
index := uint64(0)
go manager.watchControllers(&index)
resourceVersion := uint64(0)
go manager.watchControllers(&resourceVersion)
// Test normal case
testControllerSpec.ID = "foo"