Skip to content

Commit 45b941e

Browse files
DOC-4990 implemented PR feedback
1 parent 69e9b7c commit 45b941e

File tree

1 file changed

+6
-6
lines changed
  • content/develop/clients/go

1 file changed

+6
-6
lines changed

content/develop/clients/go/amr.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ letting `go-redis-entraid` fetch and renew the authentication tokens for you aut
2727
## Install
2828

2929
Install [`go-redis`]({{< relref "/develop/clients/go" >}}) if you
30-
have not already done so.
30+
have not already done so. Note that `go-redis-entraid`
31+
requires `go-redis` v9.9.0 or above, so you should upgrade if you
32+
are using an earlier version.
3133

32-
Install `go-redis-entraid` with the
33-
following command:
34+
Install `go-redis-entraid` with the following command:
3435

3536
```bash
3637
go get github.com/redis/go-redis-entraid
@@ -203,11 +204,10 @@ import (
203204

204205
func main() {
205206
// Get required environment variables
206-
clientID := os.Getenv("AZURE_CLIENT_ID")
207207
redisEndpoint := os.Getenv("REDIS_ENDPOINT")
208-
if clientID == "" || redisEndpoint == "" {
208+
if redisEndpoint == "" {
209209
log.Fatal(
210-
"AZURE_CLIENT_ID and REDIS_ENDPOINT env variables are required"
210+
"REDIS_ENDPOINT environment variable is required"
211211
)
212212
}
213213

0 commit comments

Comments
 (0)