Code linting
This commit is contained in:
parent
5ceb723963
commit
71ebe1cba5
8 changed files with 34 additions and 44 deletions
|
|
@ -811,12 +811,7 @@ func configureCertificates(pcfg *ingress.Configuration, port int) error {
|
|||
}
|
||||
|
||||
url := fmt.Sprintf("http://localhost:%d/configuration/servers", port)
|
||||
err := post(url, servers)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return post(url, servers)
|
||||
}
|
||||
|
||||
func post(url string, data interface{}) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue