File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/develop/clients/go Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ letting `go-redis-entraid` fetch and renew the authentication tokens for you aut
2727## Install
2828
2929Install [ ` 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
3637go get github.com/redis/go-redis-entraid
@@ -203,11 +204,10 @@ import (
203204
204205func 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
You can’t perform that action at this time.
0 commit comments