Merge branch 'dev-lwl/consul' into test
This commit is contained in:
commit
d724628f11
|
@ -103,7 +103,7 @@ func registerSD(ip string, port int) error {
|
|||
}
|
||||
|
||||
func setServerStatusFD(status string) {
|
||||
serverStatusFdPath := "/Users/erwin/SERVER_STATUS_FD"
|
||||
serverStatusFdPath := "/app/SERVER_STATUS_FD"
|
||||
cmd := exec.Command("sh", "-c", fmt.Sprintf("echo %s > %s", status, serverStatusFdPath))
|
||||
err := cmd.Run()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue