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
|
|
@ -99,7 +99,6 @@ func getEndpoints(
|
|||
targetPort = epPort.Port
|
||||
}
|
||||
|
||||
glog.Infof("TP: %v", targetPort)
|
||||
// check for invalid port value
|
||||
if targetPort <= 0 {
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue