Fix data race updating ingress status (#1872)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-01-02 17:43:25 -03:00 committed by GitHub
parent da829748ec
commit a09527cf6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 22 deletions

View file

@ -268,7 +268,7 @@ func (n *NGINXController) Start() {
}
if n.syncStatus != nil {
go n.syncStatus.Run(n.stopCh)
go n.syncStatus.Run()
}
go wait.Until(n.checkMissingSecrets, 30*time.Second, n.stopCh)