remove commented out code

This commit is contained in:
David Christofas
2022-04-26 13:52:40 +02:00
parent 4ae93e6efb
commit e2ea74c9bc
7 changed files with 1 additions and 29 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func WaitForCA(log log.Logger, insecure bool, caCert string) error {
log.Warn().Str("LDAP CACert", caCert).Msgf("File does not exist. Waiting %d seconds for it to appear.", _caTimeout)
time.Sleep(_caTimeout * time.Second)
if _, err := os.Stat(caCert); errors.Is(err, os.ErrNotExist) {
log.Warn().Str("LDAP CACert", caCert).Msgf("File does still not exist after Timeout")
log.Warn().Str("LDAP CACert", caCert).Msgf("File still does not exist after Timeout")
return err
}
}