mirror of
https://github.com/pgsty/minio.git
synced 2026-03-15 17:17:01 +01:00
tests: Remove RPC wording from the code (#14142)
The lock was using net/rpc in the past but it got replaced with a REST API. This commit will fix function names/comments to avoid confusion.
This commit is contained in:
@@ -148,13 +148,13 @@ func (lh *lockServerHandler) RLockHandler(w http.ResponseWriter, r *http.Request
|
||||
}
|
||||
}
|
||||
|
||||
func stopRPCServers() {
|
||||
func stopLockServers() {
|
||||
for i := 0; i < numberOfNodes; i++ {
|
||||
nodes[i].Close()
|
||||
}
|
||||
}
|
||||
|
||||
func startRPCServers() {
|
||||
func startLockServers() {
|
||||
for i := 0; i < numberOfNodes; i++ {
|
||||
lsrv := &lockServer{
|
||||
mutex: sync.Mutex{},
|
||||
|
||||
Reference in New Issue
Block a user