Change Server API

* Rename ServerStatus to ServerState internally

* Rename terminate to shutdown internally

* Update Scheduler API to match Server API
This commit is contained in:
Ken Hibino
2021-03-23 06:20:54 -07:00
parent 476812475e
commit 9c95c41651
26 changed files with 175 additions and 169 deletions

View File

@@ -51,7 +51,7 @@ func TestHealthChecker(t *testing.T) {
}
mu.Unlock()
hc.terminate()
hc.shutdown()
}
func TestHealthCheckerWhenRedisDown(t *testing.T) {
@@ -99,5 +99,5 @@ func TestHealthCheckerWhenRedisDown(t *testing.T) {
}
mu.Unlock()
hc.terminate()
hc.shutdown()
}