Update doc comments

This commit is contained in:
Ken Hibino
2020-04-13 08:14:55 -07:00
parent 24da281aa7
commit 239ef27a6e
3 changed files with 29 additions and 13 deletions

View File

@@ -772,7 +772,7 @@ end
redis.call("ZREMRANGEBYSCORE", KEYS[1], "-inf", now-1)
return res`)
// ListServers returns the list of process statuses.
// ListServers returns the list of server info.
func (r *RDB) ListServers() ([]*base.ServerInfo, error) {
res, err := listServersCmd.Run(r.client,
[]string{base.AllServers}, time.Now().UTC().Unix()).Result()