Remove dead code
This commit is contained in:
parent
944d36fdba
commit
d9af197e62
7 changed files with 4 additions and 26 deletions
|
|
@ -56,7 +56,7 @@ func (n *NGINXController) Check(_ *http.Request) error {
|
|||
return errors.Wrapf(err, "reading NGINX PID from file %v", nginx.PID)
|
||||
}
|
||||
|
||||
_, err = fs.NewProc(pid)
|
||||
_, err = fs.Proc(pid)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "checking for NGINX process with PID %v", pid)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -630,9 +630,6 @@ func isCatchAllIngress(spec networkingv1beta1.IngressSpec) bool {
|
|||
return spec.Backend != nil && len(spec.Rules) == 0
|
||||
}
|
||||
|
||||
// Default path type is Prefix to not break existing definitions
|
||||
var defaultPathType = networkingv1beta1.PathTypePrefix
|
||||
|
||||
// syncIngress parses ingress annotations converting the value of the
|
||||
// annotation to a go struct
|
||||
func (s *k8sStore) syncIngress(ing *networkingv1beta1.Ingress) {
|
||||
|
|
|
|||
|
|
@ -50,10 +50,9 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
slash = "/"
|
||||
nonIdempotent = "non_idempotent"
|
||||
defBufferSize = 65535
|
||||
defAuthSigninRedirectParam = "rd"
|
||||
slash = "/"
|
||||
nonIdempotent = "non_idempotent"
|
||||
defBufferSize = 65535
|
||||
)
|
||||
|
||||
// TemplateWriter is the interface to render a template
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue