This commit is contained in:
crusader 2017-12-03 14:50:23 +09:00
parent cdecdf8307
commit 087d9c22d3

14
main.go
View File

@ -17,6 +17,7 @@ import (
"git.loafle.net/overflow/overflow_probes/auth" "git.loafle.net/overflow/overflow_probes/auth"
"git.loafle.net/overflow/overflow_probes/commons" "git.loafle.net/overflow/overflow_probes/commons"
"git.loafle.net/overflow/overflow_probes/config" "git.loafle.net/overflow/overflow_probes/config"
"git.loafle.net/overflow/overflow_probes/probe"
) )
/* /*
@ -79,14 +80,11 @@ func main() {
os.Exit(1) os.Exit(1)
} }
} }
// if instance, err = probe.New(); nil != err { instance = probe.New()
// logging.Logger().Error(fmt.Sprintf("Probe error: %v", err)) if err := instance.(commons.Starter).Start(); err != nil {
// return logging.Logger().Error(err.Error())
// } os.Exit(1)
// if err := instance.(commons.Starter).Start(); err != nil { }
// logging.Logger().Error(fmt.Sprintf("Probe error: %v", err))
// return
// }
}() }()