diff --git a/core/src/services/redis/backend.rs b/core/src/services/redis/backend.rs index 77ca74b64c49..14d647f9cab9 100644 --- a/core/src/services/redis/backend.rs +++ b/core/src/services/redis/backend.rs @@ -121,6 +121,7 @@ impl RedisBuilder { /// currently supported schemes: /// - no scheme: will be seen as "tcp" /// - "tcp" or "redis": unsecured redis connections + /// - "rediss": secured redis connections /// - "unix" or "redis+unix": unix socket connection pub fn endpoint(&mut self, endpoint: &str) -> &mut Self { if !endpoint.is_empty() { @@ -130,11 +131,12 @@ impl RedisBuilder { } /// set the network address of redis cluster service. - /// This parameter is mutually exclusive with the endponit parameter. + /// This parameter is mutually exclusive with the endpoint parameter. /// /// currently supported schemes: /// - no scheme: will be seen as "tcp" /// - "tcp" or "redis": unsecured redis connections + /// - "rediss": secured redis connections /// - "unix" or "redis+unix": unix socket connection pub fn cluster_endpoints(&mut self, cluster_endpoints: &str) -> &mut Self { if !cluster_endpoints.is_empty() { diff --git a/core/src/services/redis/docs.md b/core/src/services/redis/docs.md index 59f25158de62..631538f7e155 100644 --- a/core/src/services/redis/docs.md +++ b/core/src/services/redis/docs.md @@ -18,7 +18,7 @@ This service can be used to: - `root`: Set the working directory of `OpenDAL` - `endpoint`: Set the network address of redis server -- `cluster_endpoints`: Set the network address of redis cluster server. This parameter is mutually exclusive with the `endponit` parameter. +- `cluster_endpoints`: Set the network address of redis cluster server. This parameter is mutually exclusive with the `endpoint` parameter. - `username`: Set the username of Redis - `password`: Set the password for authentication - `db`: Set the DB of redis