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/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
|
|
||||||
// }
|
|
||||||
|
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user