Remove dead code
This commit is contained in:
parent
944d36fdba
commit
d9af197e62
7 changed files with 4 additions and 26 deletions
|
|
@ -293,10 +293,6 @@ func (f *Framework) matchNginxCustomConditions(from string, to string, matcher f
|
|||
}
|
||||
}
|
||||
|
||||
func (f *Framework) getNginxConfigMap() (*v1.ConfigMap, error) {
|
||||
return f.getConfigMap("nginx-ingress-controller")
|
||||
}
|
||||
|
||||
func (f *Framework) getConfigMap(name string) (*v1.ConfigMap, error) {
|
||||
if f.KubeClientSet == nil {
|
||||
return nil, fmt.Errorf("KubeClientSet not initialized")
|
||||
|
|
|
|||
|
|
@ -33,11 +33,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
logDynamicConfigSuccess = "Dynamic reconfiguration succeeded"
|
||||
logDynamicConfigFailure = "Dynamic reconfiguration failed"
|
||||
logRequireBackendReload = "Configuration changes detected, backend reload required"
|
||||
logBackendReloadSuccess = "Backend successfully reloaded"
|
||||
logInitialConfigSync = "Initial synchronization of the NGINX configuration"
|
||||
|
||||
waitForLuaSync = 5 * time.Second
|
||||
)
|
||||
|
|
|
|||
|
|
@ -267,15 +267,6 @@ func prepareCertificates(namespace string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
func commandExists(name string) bool {
|
||||
_, err := exec.Command(name, "version").Output()
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func ocspserveDeployment(namespace string) (*appsv1.Deployment, *corev1.Service) {
|
||||
name := "ocspserve"
|
||||
return &appsv1.Deployment{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue