Merge pull request #3812 from ecosia/jg-customerrors-e2e-removeunused

Removes unused const from customhttperrors e2e test
This commit is contained in:
Kubernetes Prow Robot 2019-02-25 11:40:57 -08:00 committed by GitHub
commit bb7a3f3527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,8 +27,6 @@ import (
"k8s.io/ingress-nginx/test/e2e/framework" "k8s.io/ingress-nginx/test/e2e/framework"
) )
const defaultBackendName = "upstream-default-backend"
func errorBlockName(upstreamName string, errorCode string) string { func errorBlockName(upstreamName string, errorCode string) string {
return fmt.Sprintf("@custom_%s_%s", upstreamName, errorCode) return fmt.Sprintf("@custom_%s_%s", upstreamName, errorCode)
} }