Skip to content

Commit

Permalink
Proper enqueue a secret on the secret queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmoraisjr committed Mar 26, 2017
1 parent e8b61b4 commit f945624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/pkg/ingress/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func newIngressController(config *Configuration) *GenericController {
if ic.annotations.ContainsCertificateAuth(addIng) {
s, err := ic.annotations.CertificateAuthSecret(addIng)
if err == nil {
ic.syncSecret(fmt.Sprintf("%v/%v", s.Namespace, s.Name))
ic.secretQueue.Enqueue(s)
}
}
},
Expand Down Expand Up @@ -218,7 +218,7 @@ func newIngressController(config *Configuration) *GenericController {
if ic.annotations.ContainsCertificateAuth(upIng) {
s, err := ic.annotations.CertificateAuthSecret(upIng)
if err == nil {
ic.syncSecret(fmt.Sprintf("%v/%v", s.Namespace, s.Name))
ic.secretQueue.Enqueue(s)
}
}

Expand Down

0 comments on commit f945624

Please sign in to comment.