Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Schieder committed Dec 1, 2016
1 parent eadba66 commit f44e9fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nginx-controller/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,9 @@ func (lbc *LoadBalancerController) syncCfgm(key string) {
fileName, err := lbc.cnf.AddOrUpdateDHParam(sslDHParamFile)
if err != nil {
glog.Errorf("Configmap %s/%s: Could not update dhparams: %v", cfgm.GetNamespace(), cfgm.GetName(), err)
} else {
cfg.MainServerSSLDHParam = fileName
}
cfg.MainServerSSLDHParam = fileName
}

if logFormat, exists := cfgm.Data["log-format"]; exists {
Expand Down Expand Up @@ -490,7 +491,7 @@ func (lbc *LoadBalancerController) createIngress(ing *extensions.Ingress) nginx.
glog.Warningf("Error retrieving secret %v for Ingress %v: %v", secretName, ing.Name, err)
continue
}
ingEx.Secrets[fmt.Sprintf("%s-%s", ing.GetNamespace(), secretName)] = secret
ingEx.Secrets[secretName] = secret
}

ingEx.Endpoints = make(map[string][]string)
Expand Down

0 comments on commit f44e9fc

Please sign in to comment.