Clean JSON before post request to update configuration
This commit is contained in:
parent
bad526bd54
commit
c6728aa8fa
6 changed files with 123 additions and 13 deletions
|
|
@ -188,7 +188,7 @@ func (n *NGINXController) syncIngress(interface{}) error {
|
|||
// it takes time for Nginx to start listening on the port
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
err := n.ConfigureDynamically(&pcfg)
|
||||
err := configureDynamically(&pcfg, n.cfg.ListenPorts.Status)
|
||||
if err == nil {
|
||||
glog.Infof("dynamic reconfiguration succeeded")
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue