This commit is contained in:
crusader 2018-05-03 17:15:21 +09:00
parent 6f38baf3ae
commit ebee7e2d27

View File

@ -19,7 +19,7 @@ var (
)
func init() {
portNumber = flag.Int(occp.FlagProbePortName, 0, "Port number of Probe")
portNumber = flag.Int(occp.FlagProbePortName, 60000, "Port number of Probe")
loggingConfigFilePath := flag.String(occp.FlagLoggingConfigFilePathName, "", "logging config path")
flag.Parse()
@ -31,13 +31,11 @@ func main() {
c := client.New(*portNumber)
go func() {
err := c.Start()
if nil != err {
log.Printf("err: %v", err)
}
os.Exit(1)
}()
}
interrupt := make(chan os.Signal, 1)
signal.Notify(interrupt,