Remove dead code

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-12-27 22:26:51 -03:00
parent 944d36fdba
commit d9af197e62
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
7 changed files with 4 additions and 26 deletions

View file

@ -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{