Skip to content

Commit b865950

Browse files
committed
fix example
1 parent 7e62846 commit b865950

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/pubsub/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ var ctx = context.Background()
1919
func main() {
2020
wg := &sync.WaitGroup{}
2121
rdb := redis.NewClient(&redis.Options{
22-
Addr: ":6379",
22+
Addr: ":6379",
2323
HitlessUpgradeConfig: &redis.HitlessUpgradeConfig{
24-
Enabled: hitless.MaintNotificationsEnabled,
24+
Mode: hitless.MaintNotificationsEnabled,
2525
},
2626
})
2727
_ = rdb.FlushDB(ctx).Err()

0 commit comments

Comments
 (0)