Fixed the stale pid issue
This commit is contained in:
parent
54598aee8e
commit
326db4ec7c
1 changed files with 0 additions and 1 deletions
|
|
@ -69,7 +69,6 @@ func isGatewayAlive(host string, port int, expectedPID int) bool {
|
||||||
if err := json.NewDecoder(resp.Body).Decode(&body); err != nil {
|
if err := json.NewDecoder(resp.Body).Decode(&body); err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
fmt.Println("HEllo")
|
|
||||||
|
|
||||||
// Only treat as alive if the reported PID matches the PID file.
|
// Only treat as alive if the reported PID matches the PID file.
|
||||||
// This prevents an unrelated service on the same port from being
|
// This prevents an unrelated service on the same port from being
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue