Code cleaning.
This commit is contained in:
parent
c360395afc
commit
759c269dee
19 changed files with 64 additions and 56 deletions
|
@ -427,10 +427,7 @@ func shouldProcessIngress(ingressClass string) bool {
|
|||
}
|
||||
|
||||
func (p *Provider) getPassHostHeader() bool {
|
||||
if p.DisablePassHostHeaders {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return !p.DisablePassHostHeaders
|
||||
}
|
||||
|
||||
func (p *Provider) loadConfig(templateObjects types.Configuration) *types.Configuration {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue