Disable resync period

This commit is contained in:
Manuel de Brito Fontes 2018-06-13 08:47:09 -04:00 committed by Manuel Alejandro de Brito Fontes
parent 64936fa471
commit 80f77b7a22
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
2 changed files with 2 additions and 8 deletions

View file

@ -104,11 +104,6 @@ func main() {
}
}
minResyncPeriod := 10 * time.Second
if conf.ResyncPeriod < minResyncPeriod {
glog.Fatalf("Resync period should be at least %v (current: %v)", minResyncPeriod, conf.ResyncPeriod)
}
// create the default SSL certificate (dummy)
defCert, defKey := ssl.GetFakeSSLCert()
c, err := ssl.AddOrUpdateCertAndKey(fakeCertificate, defCert, defKey, []byte{}, fs)