ing
This commit is contained in:
parent
cdecdf8307
commit
087d9c22d3
14
main.go
14
main.go
|
@ -17,6 +17,7 @@ import (
|
|||
"git.loafle.net/overflow/overflow_probes/auth"
|
||||
"git.loafle.net/overflow/overflow_probes/commons"
|
||||
"git.loafle.net/overflow/overflow_probes/config"
|
||||
"git.loafle.net/overflow/overflow_probes/probe"
|
||||
)
|
||||
|
||||
/*
|
||||
|
@ -79,14 +80,11 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
// if instance, err = probe.New(); nil != err {
|
||||
// logging.Logger().Error(fmt.Sprintf("Probe error: %v", err))
|
||||
// return
|
||||
// }
|
||||
// if err := instance.(commons.Starter).Start(); err != nil {
|
||||
// logging.Logger().Error(fmt.Sprintf("Probe error: %v", err))
|
||||
// return
|
||||
// }
|
||||
instance = probe.New()
|
||||
if err := instance.(commons.Starter).Start(); err != nil {
|
||||
logging.Logger().Error(err.Error())
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user