This commit is contained in:
crusader
2017-10-13 14:32:34 +09:00
parent caaed69010
commit fa3eb473fb
6 changed files with 47 additions and 36 deletions

View File

@@ -72,10 +72,6 @@ func (a *auth) EndableStart(endded chan<- error) error {
}
func (a *auth) start() error {
if nil != config.CFG.Probe.Key || "" != *config.CFG.Probe.Key {
return nil
}
if nil != a.noAuthConfig.DenyDate {
return fmt.Errorf("Cannot start because this probe have been denied from overFlow at %s", a.noAuthConfig.DenyDate.String())
}